diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2013-04-29 10:42:59 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2013-04-30 14:55:16 +0200 |
commit | 6f12e9c23359781487987b300daf40024cd43d9a (patch) | |
tree | f50ef57d301aea26d9e79fb0e8a3d8c5ddf272ec | |
parent | 53cef3ed55a314503372a283c4c94f6691d83ddd (diff) | |
download | pianobar-windows-6f12e9c23359781487987b300daf40024cd43d9a.tar.gz pianobar-windows-6f12e9c23359781487987b300daf40024cd43d9a.tar.bz2 pianobar-windows-6f12e9c23359781487987b300daf40024cd43d9a.zip |
Makefile: Use new json-c pkgconfig file name
Keeps compatibility with older versions (will be removed in the future).
Closes #364.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |