diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2024-08-16 16:53:06 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2024-08-16 16:53:06 +0200 |
commit | 41ac06c8585dc535c4b1737b4c2943bb3fe7beb0 (patch) | |
tree | 6454286cf3e5e13bf855834814d2568277602cc0 | |
parent | caf14ba90b9aca483d13dff12d03af48dd6936b6 (diff) | |
download | pianobar-41ac06c8585dc535c4b1737b4c2943bb3fe7beb0.tar.gz pianobar-41ac06c8585dc535c4b1737b4c2943bb3fe7beb0.tar.bz2 pianobar-41ac06c8585dc535c4b1737b4c2943bb3fe7beb0.zip |
Makefile: Use pkg-config to detect gcrypt.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |