From 21125cf70f982598daeff34148d369b3cde8ebac Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 18 Dec 2009 18:17:36 +0000 Subject: [PATCH] work around the lack of libm.a on f12 --- zabbix.spec | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.43.0