From: Thierry Parmentelat Date: Fri, 18 Dec 2009 18:17:36 +0000 (+0000) Subject: work around the lack of libm.a on f12 X-Git-Tag: Monitor-3.0-29~7 X-Git-Url: http://git.onelab.eu/?p=monitor.git;a=commitdiff_plain;h=21125cf70f982598daeff34148d369b3cde8ebac work around the lack of libm.a on f12 --- diff --git a/zabbix.spec b/zabbix.spec index 20c6532..f99d40e 100644 --- a/zabbix.spec +++ b/zabbix.spec @@ -78,7 +78,12 @@ mkdir server cp -r client/* server pushd client +# quick and dirty fix for f12; loader would fail b/c of the lack of /lib/libm.a +%if "%{distro}" == "Fedora" && %{distrorelease} >= 12 +./configure --enable-agent +%else ./configure --enable-static --enable-agent +%endif make popd