[med-svn] [Git][med-team/ncbi-tools6][master] ncbi-tools6 6.1.20170106-6: d/rules: -rpath-link > LD_LIBRARY_PATH.
Aaron M. Ucko
gitlab at salsa.debian.org
Fri Dec 28 03:53:01 GMT 2018
Aaron M. Ucko pushed to branch master at Debian Med / ncbi-tools6
Commits:
1c08303a by Aaron M. Ucko at 2018-12-28T03:39:12Z
ncbi-tools6 6.1.20170106-6: d/rules: -rpath-link > LD_LIBRARY_PATH.
debian/rules: Find indirectly needed libraries via -rpath-link rather
than LD_LIBRARY_PATH; the -rpath-link approach is generally saner, and
in particular has a decent shot at fully fixing cross-building.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+ncbi-tools6 (6.1.20170106-6) unstable; urgency=medium
+
+ * debian/rules: Find indirectly needed libraries via -rpath-link rather
+ than LD_LIBRARY_PATH; the -rpath-link approach is generally saner, and
+ in particular has a decent shot at fully fixing cross-building.
+
+ -- Aaron M. Ucko <ucko at debian.org> Thu, 27 Dec 2018 22:39:09 -0500
+
ncbi-tools6 (6.1.20170106-5) unstable; urgency=medium
[ Andreas Tille ]
=====================================
debian/rules
=====================================
@@ -30,7 +30,7 @@ CFLAGS += -mieee
endif
CFLAGS_PIC = $(filter-out -fPIE,$(CFLAGS)) -fPIC
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-LDFLAGS1 := $(CFLAGS) $(LDFLAGS) -Wl,--as-needed
+LDFLAGS1 := $(CFLAGS) $(LDFLAGS) -Wl,--as-needed -Wl,-rpath-link,../shlib
OGL_TARGETS = Cn3D
OGL_LIBVARS = LIB400=libvibrantOGL.a LIB3000=libncbicn3dOGL.a
@@ -46,12 +46,6 @@ MAKESHLIB = $(USESHLIB) NCBI_SHLIBS=shlib
export NCBI_LBSM_SRC=ncbi_lbsmd_stub.c
export NCBI_LBSM_OBJ=ncbi_lbsmd_stub.o
-ifeq ($(LD_LIBRARY_PATH),)
-export LD_LIBRARY_PATH:=$(CURDIR)/shlib
-else
-export LD_LIBRARY_PATH:=$(CURDIR)/shlib:$(LD_LIBRARY_PATH)
-endif
-
VIB = Psequin sbtedit udv ddv taxblast idfetch asn2gb tbl2asn gene2xml \
entrez2 gbseqget asn2all asn2asn asn2fsa asn2xml asndisc asnmacro \
asnval cleanasn insdseqget nps2gps spidey trna2sap trna2tbl \
View it on GitLab: https://salsa.debian.org/med-team/ncbi-tools6/commit/1c08303a073519d89c63cdf653c3f3ac7a073b58
--
View it on GitLab: https://salsa.debian.org/med-team/ncbi-tools6/commit/1c08303a073519d89c63cdf653c3f3ac7a073b58
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20181228/2c70e907/attachment-0001.html>
More information about the debian-med-commit
mailing list