aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rspamd/cmakelists.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rspamd/cmakelists.patch')
-rw-r--r--testing/rspamd/cmakelists.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/rspamd/cmakelists.patch b/testing/rspamd/cmakelists.patch
index 8bf9356867..e451973f3d 100644
--- a/testing/rspamd/cmakelists.patch
+++ b/testing/rspamd/cmakelists.patch
@@ -1,10 +1,10 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -572,7 +572,6 @@
+@@ -578,7 +578,6 @@
LIST(APPEND CMAKE_REQUIRED_LIBRARIES rt)
LIST(APPEND CMAKE_REQUIRED_LIBRARIES dl)
LIST(APPEND CMAKE_REQUIRED_LIBRARIES resolv)
- LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)
MESSAGE(STATUS "Configuring for Linux")
- IF(EXISTS "/etc/debian_version")
- SET(LINUX_START_SCRIPT "rspamd_debian.in")
+ IF(ENABLE_STATIC MATCHES "ON")
+ LIST(APPEND CMAKE_REQUIRED_LIBRARIES z)