]> source.dussan.org Git - rspamd.git/commitdiff
Try to fix build on suse.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Jun 2015 13:37:26 +0000 (14:37 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Jun 2015 13:37:26 +0000 (14:37 +0100)
centos/rspamd.spec

index 86454102e4a45e864f130cb7fa7742b3a622c262..5049388a9bf939703e93d2afa82ee05f34a4d723 100644 (file)
@@ -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 \