From: Steven Seungcheol Lee Date: Fri, 26 Nov 2021 04:54:24 +0000 (+0900) Subject: Makefile: Add missing define (LIBJSONC_14) X-Git-Tag: v2.0-rc0~39^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1b814c5c9c0896bcd845c4cb637629052e27f29f;p=users%2Fsagi%2Fnvme-cli.git Makefile: Add missing define (LIBJSONC_14) Signed-off-by: Steven Seungcheol Lee --- diff --git a/Makefile b/Makefile index 17a6a935..44b2eead 100644 --- 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)