summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2013-04-17 15:44:54 +0200
committerLars-Dominik Braun <lars@6xq.net>2013-04-17 15:44:54 +0200
commit53cef3ed55a314503372a283c4c94f6691d83ddd (patch)
treecae0c689d41113793fad581dc7cd3e846f1c5f2f
parent801d76fe006a64d07db7f5fc58222abe9af01f97 (diff)
downloadpianobar-windows-53cef3ed55a314503372a283c4c94f6691d83ddd.tar.gz
pianobar-windows-53cef3ed55a314503372a283c4c94f6691d83ddd.tar.bz2
pianobar-windows-53cef3ed55a314503372a283c4c94f6691d83ddd.zip
Link dynamic pianobar against gcrypt
Commit 96db841a16670b52fa462337c657c6dc6bd2844a added initialization functions to the pianobar binary but failed to link the dynamically linked version against libgcrypt. Closes #362.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d08e21e..3dda79e 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,8 @@ ifeq (${DYNLINK},1)
pianobar: ${PIANOBAR_OBJ} ${PIANOBAR_HDR} libpiano.so.0
@echo " LINK $@"
@${CC} -o $@ ${PIANOBAR_OBJ} ${LDFLAGS} -lao -lpthread -lm -L. -lpiano \
- ${LIBFAAD_LDFLAGS} ${LIBMAD_LDFLAGS} ${LIBGNUTLS_LDFLAGS}
+ ${LIBFAAD_LDFLAGS} ${LIBMAD_LDFLAGS} ${LIBGNUTLS_LDFLAGS} \
+ ${LIBGCRYPT_LDFLAGS}
else
pianobar: ${PIANOBAR_OBJ} ${PIANOBAR_HDR} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} \
${LIBWAITRESS_HDR}