From: Andre Noll Date: Tue, 13 Mar 2012 15:37:36 +0000 (+0100) Subject: Link against libz if compiling with libid3tag support. X-Git-Tag: v0.4.10~3^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=902ec3df25e1095b2a5c83d03ef6a1016e79d2f1;hp=902ec3df25e1095b2a5c83d03ef6a1016e79d2f1;p=paraslash.git 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. ---