[sundials] 01/01: I strip out all the RPATH/RUNPATH tags from my shared objects

Dima Kogan dima at secretsauce.net
Sun Feb 12 00:52:31 UTC 2017


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

dkogan pushed a commit to branch origin/master
in repository sundials.

commit 37729468dd30479bb5796269fa4daad51390d7cb
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sat Feb 11 16:45:59 2017 -0800

    I strip out all the RPATH/RUNPATH tags from my shared objects
    
    These all point to libraries that actually live in standard locations, so the
    tags are not needed
---
 debian/control | 1 +
 debian/rules   | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/control b/debian/control
index 9ef34eb..3468858 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Uploaders: Dima Kogan <dkogan at debian.org>,
 Section: libs
 Priority: optional
 Build-Depends: debhelper (>= 10),
+               chrpath,
                cmake,
                python,
                gfortran,
diff --git a/debian/rules b/debian/rules
index 9a5ad1f..7ad7f03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,10 @@ override_dh_auto_configure:
 
 override_dh_auto_install:
 	dh_auto_install
+# I strip out all the RPATH/RUNPATH tags from my shared objects. These all point
+# to libraries that actually live in standard locations, so the tags are not
+# needed
+	find debian/tmp/ -name '*.so' -o -name '*.so.*' -exec chrpath -d '{}' \;
 	dh_install -a -Nlibsundials-doc
 	dh_install -plibsundials-doc -X.txt -X.out -X.in -XREADME
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sundials.git



More information about the debian-science-commits mailing list