[med-svn] [libzstd] 01/05: Do not link statically against libzstd

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 223b4720ad3cfe9410dff41d556b9c1b0162543b
Author: Andreas Tille <tille at debian.org>
Date:   Thu Dec 21 10:42:13 2017 +0100

    Do not link statically against libzstd
---
 debian/changelog | 8 ++++++++
 debian/rules     | 5 +++++
 2 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f07f4df..5ef26df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libzstd (1.3.2+dfsg2-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Do not link statically against libzstd
+    Closes: #884876
+
+ -- Andreas Tille <tille at debian.org>  Thu, 21 Dec 2017 10:41:36 +0100
+
 libzstd (1.3.2+dfsg2-1) unstable; urgency=medium
 
   * Update d/copyright:
diff --git a/debian/rules b/debian/rules
index e5e0dba..a53706f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,14 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 # Upstream's makefiles will respect PREFIX, and this means we avoid a patch
 export PREFIX=/usr
 
+CMAKE_EXTRA_FLAGS += -DZSTD_BUILD_STATIC:BOOL=OFF
+
 %:
 	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
+
 override_dh_auto_build:
 	dh_auto_build
 	$(MAKE) -C contrib/pzstd/ pzstd

-- 
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