[med-svn] [sra-sdk] 02/06: Add -lz and -lbz2 to linker flags

Andreas Tille tille at debian.org
Thu Jul 21 15:51:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository sra-sdk.

commit b4fa8768c09aec2f0b19b88cae4f326b0cecb1e6
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jul 21 14:28:28 2016 +0200

    Add -lz and -lbz2 to linker flags
---
 debian/patches/link_debian_packaged_libz.patch | 17 +++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/link_debian_packaged_libz.patch b/debian/patches/link_debian_packaged_libz.patch
new file mode 100644
index 0000000..95e6a6b
--- /dev/null
+++ b/debian/patches/link_debian_packaged_libz.patch
@@ -0,0 +1,17 @@
+Author: Andreas Tille <tille at debian.org>
+LastChanged: Thu, 21 Jul 2016 14:19:27 +0200
+Description: Since libncbi-vdb is dynamically linked against zlib and libbz2
+ these need to be explicitly specified here
+
+--- a/build/ld.linux.exe.sh
++++ b/build/ld.linux.exe.sh
+@@ -319,6 +319,9 @@ then
+     CMD="$CMD -Wl,-Bdynamic -lm"
+ fi
+ 
++echo "+++++++++++++++++++++++++  adding zlib +++++++++++++++++++++++++++++++++++++++"
++CMD="$CMD -lz -lbz2"
++
+ # produce shared library
+ echo $CMD
+ $CMD || exit $?
diff --git a/debian/patches/series b/debian/patches/series
index a036502..1da8794 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ hardening.patch
 find_hdf5_serial.patch
 find_ngs-sdk.patch
 find_ncbi-vdb.patch
+link_debian_packaged_libz.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sra-sdk.git



More information about the debian-med-commit mailing list