diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-05-17 21:47:28 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-05-17 21:47:28 +0200 |
commit | c922257347ee0cf5ea6cdd65786da2774c79c132 (patch) | |
tree | 2de63135c237b0e87b3b424ea1e3108227301aef | |
parent | 7df9371491e96a99c1e463f7787aede352ac5a37 (diff) | |
download | pianobar-windows-c922257347ee0cf5ea6cdd65786da2774c79c132.tar.gz pianobar-windows-c922257347ee0cf5ea6cdd65786da2774c79c132.tar.bz2 pianobar-windows-c922257347ee0cf5ea6cdd65786da2774c79c132.zip |
Fix dynlink with --as-needed
Closes #258.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,9 +107,9 @@ 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} ${LIBJSONC_LDFLAGS} \ -o libpiano.so.0.0.0 ${LIBPIANO_RELOBJ} \ - ${LIBWAITRESS_RELOBJ} + ${LIBWAITRESS_RELOBJ} ${LIBGNUTLS_LDFLAGS} ${LIBGCRYPT_LDFLAGS} \ + ${LIBJSONC_LDFLAGS} @ln -s libpiano.so.0.0.0 libpiano.so.0 @ln -s libpiano.so.0 libpiano.so @echo " AR libpiano.a" |