summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony J. Bentley <anthony@cathet.us>2015-03-21 23:59:43 +0000
committerVincent Sanders <vince@kyllikki.org>2015-03-21 23:59:43 +0000
commit34fec03ed659cb93f345cf0d1bf01901890b0576 (patch)
tree080e93ae405bbcf692143981a1d55b9aaf099fa8
parent9482840cba1effed4a89935e4f921acb4d2bbc1c (diff)
downloadlibhubbub-34fec03ed659cb93f345cf0d1bf01901890b0576.tar.gz
libhubbub-34fec03ed659cb93f345cf0d1bf01901890b0576.tar.bz2
The json library used for tests has changed name.
Closes #2191
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 87cdbf7..5d88438 100644
--- a/Makefile
+++ b/Makefile
@@ -47,12 +47,12 @@ ifeq ($(WANT_TEST),yes)
# We require the presence of libjson -- http://oss.metaparadigm.com/json-c/
ifneq ($(PKGCONFIG),)
TESTCFLAGS := $(TESTCFLAGS) \
- $(shell $(PKGCONFIG) $(PKGCONFIGFLAGS) --cflags json)
+ $(shell $(PKGCONFIG) $(PKGCONFIGFLAGS) --cflags json-c)
TESTLDFLAGS := $(TESTLDFLAGS) \
- $(shell $(PKGCONFIG) $(PKGCONFIGFLAGS) --libs json)
+ $(shell $(PKGCONFIG) $(PKGCONFIGFLAGS) --libs json-c)
else
- TESTCFLAGS := $(TESTCFLAGS) -I$(PREFIX)/include/json
- TESTLDFLAGS := $(TESTLDFLAGS) -ljson
+ TESTCFLAGS := $(TESTCFLAGS) -I$(PREFIX)/include/json-c
+ TESTLDFLAGS := $(TESTLDFLAGS) -ljson-c
endif
ifneq ($(GCCVER),2)