From: Vsevolod Stakhov Date: Tue, 23 Jun 2015 13:37:26 +0000 (+0100) Subject: Try to fix build on suse. X-Git-Tag: 1.0.0~509 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1dfa377015030cf47a8b0c1d19d2c6fec6c10201;p=rspamd.git Try to fix build on suse. --- diff --git a/centos/rspamd.spec b/centos/rspamd.spec index 86454102e..5049388a9 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -82,6 +82,9 @@ lua. %else -DWANT_SYSTEMD_UNITS=ON \ -DSYSTEMDDIR=%{_unitdir} \ +%endif +%if 0%{?suse_version} + -DCMAKE_SKIP_INSTALL_RPATH=ON \ %endif -DLOGDIR=%{_localstatedir}/log/rspamd \ -DEXAMPLESDIR=%{_datadir}/examples/rspamd \