Link against libz if compiling with libid3tag support.
authorAndre Noll <maan@systemlinux.org>
Tue, 13 Mar 2012 15:37:36 +0000 (16:37 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Mar 2012 20:13:21 +0000 (21:13 +0100)
commit902ec3df25e1095b2a5c83d03ef6a1016e79d2f1
tree58a56ee89c6da9e0e13291ab111a75941bdccabb
parent2f3ec2cfb9e465c7cb5f92e3887384d6e37d4781
Link against libz if compiling with libid3tag support.

libid3tag depends on libz. On Linux, libz is automatically linked to
para_server and para_afh but at least on FreeBSD compilation fails
due to undefined references to "uncompress" and "compress2".

This patch explicitly adds -lz to $server_ld_flags and $afh_ldflags
if libid3tag was detected.
configure.ac