diff options
author | Andres J Ruiz Torres <andresruiz2010@gmail.com> | 2012-05-04 00:24:55 -0400 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-05-09 09:43:47 +0200 |
commit | c9aff4f4ceddc70b8b98ca8d5d248eac6be2619f (patch) | |
tree | 40dfd1f3d31da97dea7dceb770dd03854d31efbd | |
parent | eee4424677964ddc5b0f01d120db71f160a7c9e1 (diff) | |
download | pianobar-c9aff4f4ceddc70b8b98ca8d5d248eac6be2619f.tar.gz pianobar-c9aff4f4ceddc70b8b98ca8d5d248eac6be2619f.tar.bz2 pianobar-c9aff4f4ceddc70b8b98ca8d5d248eac6be2619f.zip |
Correct LDFLAGS for DYNLINK=1
Closes #253
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -91,8 +91,7 @@ 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} \ - ${LIBGCRYPT_LDFLAGS} ${LIBJSONC_LDFLAGS} + ${LIBFAAD_LDFLAGS} ${LIBMAD_LDFLAGS} ${LIBGNUTLS_LDFLAGS} else pianobar: ${PIANOBAR_OBJ} ${PIANOBAR_HDR} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} \ ${LIBWAITRESS_HDR} @@ -108,7 +107,7 @@ libpiano.so.0: ${LIBPIANO_RELOBJ} ${LIBPIANO_HDR} ${LIBWAITRESS_RELOBJ} \ ${LIBWAITRESS_HDR} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} @echo " LINK $@" @${CC} -shared -Wl,-soname,libpiano.so.0 ${CFLAGS} ${LDFLAGS} \ - ${LIBGNUTLS_LDFLAGS} ${LIBGCRYPT_LDFLAGS} \ + ${LIBGNUTLS_LDFLAGS} ${LIBGCRYPT_LDFLAGS} ${LIBJSONC_LDFLAGS} \ -o libpiano.so.0.0.0 ${LIBPIANO_RELOBJ} \ ${LIBWAITRESS_RELOBJ} @ln -s libpiano.so.0.0.0 libpiano.so.0 |