[petsc4py] 05/10: RPATH adjustment: use wildcard in PETSc*.so

Drew Parsons dparsons at moszumanska.debian.org
Mon May 15 08:48:29 UTC 2017


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

dparsons pushed a commit to tag debian/3.7.0-3
in repository petsc4py.

commit 01d072944ea9c9b5ad8c32468671ead8dd905717
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon May 15 13:30:14 2017 +0800

    RPATH adjustment: use wildcard in PETSc*.so
    
    when removing the RPATH embedded in the python library file,
    
    the python 2.7 build just calls the library file PETSc.so, but the
    python 3.5 build calls it PETSc.cpython-35m-x86_64-linux-gnu.so
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 692d6a8..bd8427f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,7 +36,7 @@ override_dh_auto_build:
 	PETSC_DIR=$(PETSC_DIR)  dh_auto_build
 	# petsc4py embeds the deep PETSC_DIR path as RPATH in its library.
 	# Swap it out for a standard path, or else dh_shlibdeps gets confused
-	chrpath -d .pybuild/pythonX.Y_*/build/petsc4py/lib/PETSc.so
+	chrpath -d .pybuild/pythonX.Y_*/build/petsc4py/lib/PETSc*.so
 
 override_dh_auto_install:
 	PETSC_DIR=$(PETSC_DIR)  dh_auto_install

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



More information about the debian-science-commits mailing list