summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2024-08-16 16:53:06 +0200
committerLars-Dominik Braun <lars@6xq.net>2024-08-16 16:53:06 +0200
commit41ac06c8585dc535c4b1737b4c2943bb3fe7beb0 (patch)
tree6454286cf3e5e13bf855834814d2568277602cc0 /Makefile
parentcaf14ba90b9aca483d13dff12d03af48dd6936b6 (diff)
downloadpianobar-master.tar.gz
pianobar-master.tar.bz2
pianobar-master.zip
Makefile: Use pkg-config to detect gcrypt.HEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4e8fd0a..8c647fb 100644
--- a/Makefile
+++ b/Makefile
@@ -52,8 +52,8 @@ LIBAV_LDFLAGS:=$(shell $(PKG_CONFIG) --libs libavcodec libavformat libavutil lib
LIBCURL_CFLAGS:=$(shell $(PKG_CONFIG) --cflags libcurl)
LIBCURL_LDFLAGS:=$(shell $(PKG_CONFIG) --libs libcurl)
-LIBGCRYPT_CFLAGS:=
-LIBGCRYPT_LDFLAGS:=-lgcrypt
+LIBGCRYPT_CFLAGS:=$(shell $(PKG_CONFIG) --cflags libgcrypt)
+LIBGCRYPT_LDFLAGS:=$(shell $(PKG_CONFIG) --libs libgcrypt)
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)