aboutsummaryrefslogtreecommitdiffstats
path: root/community/rspamd/cmakelists.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/rspamd/cmakelists.patch')
-rw-r--r--community/rspamd/cmakelists.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/rspamd/cmakelists.patch b/community/rspamd/cmakelists.patch
new file mode 100644
index 0000000000..e451973f3d
--- /dev/null
+++ b/community/rspamd/cmakelists.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -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(ENABLE_STATIC MATCHES "ON")
+ LIST(APPEND CMAKE_REQUIRED_LIBRARIES z)