summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1d823b2..e1b1431 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,7 @@ ifeq ($(WANT_TEST),yes)
TESTLDFLAGS := $(TESTLDFLAGS) \
$(shell $(PKGCONFIG) $(PKGCONFIGFLAGS) --libs json)
else
+ TESTCFLAGS := $(TESTCFLAGS) -I$(PREFIX)/include/json
TESTLDFLAGS := $(TESTLDFLAGS) -ljson
endif