diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-23 14:37:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-23 14:37:26 +0100 |
commit | 1dfa377015030cf47a8b0c1d19d2c6fec6c10201 (patch) | |
tree | 3083ab574caefa909b8b64efe4cc769034d4c62b /centos | |
parent | fc56f29d5c891ca678b7f18a90832fe4bfa7bc49 (diff) | |
download | rspamd-1dfa377015030cf47a8b0c1d19d2c6fec6c10201.tar.gz rspamd-1dfa377015030cf47a8b0c1d19d2c6fec6c10201.zip |
Try to fix build on suse.
Diffstat (limited to 'centos')
-rw-r--r-- | centos/rspamd.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index 86454102e..5049388a9 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -83,6 +83,9 @@ lua. -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 \ -DPLUGINSDIR=%{_datadir}/rspamd \ |