PromyLOPh/pianobar — pull request #259 by belak (2012-05-16 04:26:12+00:00)
Title: Fixed building when LDFLAGS contains -Wl,--as-needed

This fixes #258
Simply makes sure we link against json-c and gnutls when linking pianobar (when using DYNLINK=1)

Simply because libpiano doesn't use all the symbols linked to in pianobar, so when using --as-needed, not all symbols are resolved and stuff not used in libpiano can't be found when linking for pianobar.