Add json_file output format (uses json-c)
This commit is contained in:
@ -43,6 +43,12 @@ ifeq ($(REDIS), true)
|
||||
CFLAGS+=-DREDIS
|
||||
endif
|
||||
|
||||
ifeq ($(JSON), true)
|
||||
LDLIBS += $(shell pkg-config --libs json-c)
|
||||
CFLAGS += $(shell pkg-config --cflags json-c) -DJSON
|
||||
objects+=module_json.o
|
||||
endif
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
$(TARGETS):
|
||||
|
Reference in New Issue
Block a user