working MakeFile

This commit is contained in:
Zakir Durumeric 2013-08-30 01:15:25 -04:00
parent 5aee06935c
commit be62665bb5
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ ifeq ($(REDIS), true)
endif
ifeq ($(JSON), true)
LDLIBS += $(shell pkg-config --libs json-c)
CFLAGS += $(shell pkg-config --cflags json-c) -DJSON
LDLIBS+=-ljson
CFLAGS+=-DJSON
objects+=module_json.o
endif