]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Makefile: Add missing define (LIBJSONC_14)
authorSteven Seungcheol Lee <sc108.lee@samsung.com>
Fri, 26 Nov 2021 04:54:24 +0000 (13:54 +0900)
committerSteven Seungcheol Lee <sc108.lee@samsung.com>
Fri, 26 Nov 2021 04:54:24 +0000 (13:54 +0900)
Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Makefile

index 17a6a93596bbba18b9724ab8df9b7f42fac1c22c..44b2eeadfc6750177affbd8dcec2ce4159e033fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,10 @@ ifeq ($(HAVE_SYSTEMD),0)
        override CFLAGS += -DHAVE_SYSTEMD
 endif
 
+ifeq ($(LIBJSONC_14), 0)
+       override CFLAGS += -DLIBJSONC_14
+endif
+
 ifeq ($(LIBJSONC), 0)
        override LDFLAGS += $(shell pkg-config --libs json-c)
        override CFLAGS += $(shell pkg-config --cflags json-c)