summaryrefslogtreecommitdiff
path: root/devilutionx-git/devilutionx-linkfix.patch
diff options
context:
space:
mode:
authorDeposite Pirate2019-10-22 11:37:01 +0200
committerDeposite Pirate2019-10-22 11:37:01 +0200
commit64e0b8f4e9ac9ed33b426fe8f9616370f0f717d0 (patch)
treef2de310a0ebf659b607a7e77f440580e31796981 /devilutionx-git/devilutionx-linkfix.patch
parent0d21776a6fe4f5239acc872539c458791f58e6e8 (diff)
* Hackfix linking against libsodium.
modified: devilutionx-git/.SRCINFO modified: devilutionx-git/PKGBUILD new file: devilutionx-git/devilutionx-linkfix.patch
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)