summaryrefslogtreecommitdiff
path: root/devilutionx-git/devilutionx-linkfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'devilutionx-git/devilutionx-linkfix.patch')
-rw-r--r--devilutionx-git/devilutionx-linkfix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/devilutionx-git/devilutionx-linkfix.patch b/devilutionx-git/devilutionx-linkfix.patch
new file mode 100644
index 0000000..660ffa8
--- /dev/null
+++ b/devilutionx-git/devilutionx-linkfix.patch
@@ -0,0 +1,12 @@
+diff -r -u -N devilutionx/CMakeLists.txt devilutionx-linkfix/CMakeLists.txt
+--- devilutionx/CMakeLists.txt 2019-10-22 11:25:24.826458542 +0200
++++ devilutionx-linkfix/CMakeLists.txt 2019-10-22 11:26:03.370009857 +0200
+@@ -77,7 +77,7 @@
+ endif()
+
+ if(DIST OR DINGUX)
+- set(sodium_USE_STATIC_LIBS ON)
++ set(sodium_USE_STATIC_LIBS OFF)
+ endif()
+
+ set(CMAKE_CXX_STANDARD 11)