diff options
author | Tim Harder <radhermit@gmail.com> | 2011-05-06 01:32:31 -0700 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-05-07 17:13:57 +0200 |
commit | e8c314c615092555d5fe79119c176ec0413caf3d (patch) | |
tree | 81e0d65a87ca7404b489b92111747a871c20f74b | |
parent | 49f64fd33c202831407ba6b02fa74c2037052f1c (diff) | |
download | pianobar-e8c314c615092555d5fe79119c176ec0413caf3d.tar.gz pianobar-e8c314c615092555d5fe79119c176ec0413caf3d.tar.bz2 pianobar-e8c314c615092555d5fe79119c176ec0413caf3d.zip |
Use the correct linking order for the --as-needed flag
Closes #117
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -88,9 +88,9 @@ pianobar: ${PIANOBAR_OBJ} ${PIANOBAR_HDR} libpiano.so.0 else pianobar: ${PIANOBAR_OBJ} ${PIANOBAR_HDR} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} \ ${LIBWAITRESS_HDR} ${LIBEZXML_OBJ} ${LIBEZXML_HDR} - ${CC} ${CFLAGS} ${LDFLAGS} -lao -lpthread -lm ${LIBFAAD_LDFLAGS} \ - ${LIBMAD_LDFLAGS} -o $@ ${PIANOBAR_OBJ} ${LIBPIANO_OBJ} \ - ${LIBWAITRESS_OBJ} ${LIBEZXML_OBJ} + ${CC} ${CFLAGS} ${LDFLAGS} ${PIANOBAR_OBJ} ${LIBPIANO_OBJ} \ + ${LIBWAITRESS_OBJ} ${LIBEZXML_OBJ} -lao -lpthread -lm \ + ${LIBFAAD_LDFLAGS} ${LIBMAD_LDFLAGS} -o $@ endif # build shared and static libpiano |