[med-svn] [libzstd] 03/05: Add patch to make really sure ZSTD_BUILD_STATIC:BOOL=OFF
Andreas Tille
tille at debian.org
Thu Dec 21 10:56:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libzstd.
commit 840bac2747cab18f8cf39079b3722f1a3357cb50
Author: Andreas Tille <tille at debian.org>
Date: Thu Dec 21 11:03:10 2017 +0100
Add patch to make really sure ZSTD_BUILD_STATIC:BOOL=OFF
---
debian/patches/0013-dynamic-linking.patch | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 26 insertions(+)
diff --git a/debian/patches/0013-dynamic-linking.patch b/debian/patches/0013-dynamic-linking.patch
new file mode 100644
index 0000000..8486903
--- /dev/null
+++ b/debian/patches/0013-dynamic-linking.patch
@@ -0,0 +1,25 @@
+Description: Do not link statically against libzstd
+Bug-Debian: https://bugs.debian.org/884876
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 21 Dec 2017 10:42:27 +0100
+
+--- a/Makefile
++++ b/Makefile
+@@ -107,7 +107,7 @@ clean:
+ ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD MSYS_NT))
+
+ HOST_OS = POSIX
+-CMAKE_PARAMS = -DZSTD_BUILD_CONTRIB:BOOL=ON -DZSTD_BUILD_STATIC:BOOL=ON -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_ZLIB_SUPPORT:BOOL=ON -DZSTD_LZMA_SUPPORT:BOOL=ON
++CMAKE_PARAMS = -DZSTD_BUILD_CONTRIB:BOOL=ON -DZSTD_BUILD_STATIC:BOOL=OFF -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_ZLIB_SUPPORT:BOOL=ON -DZSTD_LZMA_SUPPORT:BOOL=ON
+
+ .PHONY: list
+ list:
+@@ -296,7 +296,7 @@ endif
+
+ ifneq (,$(filter MSYS%,$(shell uname)))
+ HOST_OS = MSYS
+-CMAKE_PARAMS = -G"MSYS Makefiles" -DZSTD_MULTITHREAD_SUPPORT:BOOL=OFF -DZSTD_BUILD_STATIC:BOOL=ON -DZSTD_BUILD_TESTS:BOOL=ON
++CMAKE_PARAMS = -G"MSYS Makefiles" -DZSTD_MULTITHREAD_SUPPORT:BOOL=OFF -DZSTD_BUILD_STATIC:BOOL=OFF -DZSTD_BUILD_TESTS:BOOL=ON
+ endif
+
+
diff --git a/debian/patches/series b/debian/patches/series
index cdbdf33..51e4263 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
0009-Add-shebang-for-scripts.patch
0011-skip-long-running-tests_on_hurd.patch
0012-typos.patch
+0013-dynamic-linking.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libzstd.git
More information about the debian-med-commit
mailing list