diff options
author | David Coppa <dcoppa@openbsd.org> | 2012-05-08 20:59:00 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-05-08 20:59:00 +0200 |
commit | eee4424677964ddc5b0f01d120db71f160a7c9e1 (patch) | |
tree | 393c8a23f01b94cb4e4ae2610646b1b6e3ff8715 | |
parent | 6b2b961db41088cea59b05a50599e5c0abea07d4 (diff) | |
download | pianobar-windows-eee4424677964ddc5b0f01d120db71f160a7c9e1.tar.gz pianobar-windows-eee4424677964ddc5b0f01d120db71f160a7c9e1.tar.bz2 pianobar-windows-eee4424677964ddc5b0f01d120db71f160a7c9e1.zip |
Use pkg-config for libmad and gnutls
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -73,11 +73,12 @@ ifeq (${DISABLE_MAD}, 1) LIBMAD_LDFLAGS= else LIBMAD_CFLAGS=-DENABLE_MAD - LIBMAD_LDFLAGS=-lmad + LIBMAD_CFLAGS+=$(shell pkg-config --cflags mad) + LIBMAD_LDFLAGS=$(shell pkg-config --libs mad) endif -LIBGNUTLS_CFLAGS= -LIBGNUTLS_LDFLAGS=-lgnutls +LIBGNUTLS_CFLAGS=$(shell pkg-config --cflags gnutls) +LIBGNUTLS_LDFLAGS=$(shell pkg-config --libs gnutls) LIBGCRYPT_CFLAGS= LIBGCRYPT_LDFLAGS=-lgcrypt |