Package: sra-sdk / 2.9.3+dfsg-1

link_debian_packaged_libz.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@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 -lsz"
+
 # produce shared library
 echo $CMD
 $CMD || exit $?