From 6f12e9c23359781487987b300daf40024cd43d9a Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 29 Apr 2013 10:42:59 +0200 Subject: Makefile: Use new json-c pkgconfig file name Keeps compatibility with older versions (will be removed in the future). Closes #364. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3dda79e..122852e 100644 --- a/Makefile +++ b/Makefile @@ -88,8 +88,8 @@ LIBGNUTLS_LDFLAGS=$(shell pkg-config --libs gnutls) LIBGCRYPT_CFLAGS= LIBGCRYPT_LDFLAGS=-lgcrypt -LIBJSONC_CFLAGS=$(shell pkg-config --cflags json) -LIBJSONC_LDFLAGS=$(shell pkg-config --libs json) +LIBJSONC_CFLAGS=$(shell pkg-config --cflags json-c 2>/dev/null || pkg-config --cflags json) +LIBJSONC_LDFLAGS=$(shell pkg-config --libs json-c 2>/dev/null || pkg-config --libs json) # build pianobar ifeq (${DYNLINK},1) -- cgit v1.2.3