[med-svn] samtools 02/03: Adjust for dynamic linking.
Charles Plessy
plessy at moszumanska.debian.org
Mon Aug 18 01:51:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
plessy pushed a commit to branch debian/unstable
in repository samtools.
commit 845581d62160745260b6bebf47ab5a13a16c4478
Author: Charles Plessy <plessy at debian.org>
Date: Mon Aug 18 10:50:13 2014 +0900
Adjust for dynamic linking.
---
debian/rules | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 0d119c6..f8d6d12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,19 +7,20 @@ export DH_VERBOSE=1
override_dh_auto_build:
dh_auto_build -- \
- HTSDIR="/usr/include/htslib" \
+ HTSDIR="/usr/include" \
HTSLIB=$(shell dpkg -S libhts.a | awk '{print $$2}') \
CFLAGS="$$(dpkg-buildflags --get CFLAGS)" \
CPPFLAGS="-I. -DSAMTOOLS=1 $$(dpkg-buildflags --get CPPFLAGS)" \
- LDFLAGS="$$(dpkg-buildflags --get LDFLAGS)"
+ LDFLAGS="$$(dpkg-buildflags --get LDFLAGS)" \
+ LDLIBS="-lhts"
override_dh_auto_test:
dh_auto_test -- \
- HTSDIR="/usr/include/htslib" \
+ HTSDIR="/usr/include" \
HTSLIB=$(shell dpkg -S libhts.a | awk '{print $$2}')
override_dh_auto_install:
dh_auto_install -- \
prefix=/usr \
- HTSDIR="/usr/include/htslib" \
+ HTSDIR="/usr/include" \
HTSLIB=$(shell dpkg -S libhts.a | awk '{print $$2}')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/samtools.git
More information about the debian-med-commit
mailing list