From f7db9bf5d25f92f04651042ba1777f931f0ef56f Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Mon, 16 Oct 2017 13:50:07 +0200 Subject: New patch to avoid setting RPATH in Python extension. --- ...untime_library_dirs-for-the-Python-extens.patch | 26 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 27 insertions(+) create mode 100644 debian/patches/0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch (limited to 'debian') diff --git a/debian/patches/0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch b/debian/patches/0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch new file mode 100644 index 00000000..c5677149 --- /dev/null +++ b/debian/patches/0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch @@ -0,0 +1,26 @@ +From 2dfc0e89fdf40fe474ef0ec2018fe06e5eb786d5 Mon Sep 17 00:00:00 2001 +From: Gard Spreemann +Date: Mon, 16 Oct 2017 13:46:22 +0200 +Subject: [PATCH] Don't set runtime_library_dirs for the Python extension. + Avoid RPATH in the shared object. + +--- + cython/setup.py.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cython/setup.py.in b/cython/setup.py.in +index fefa36b..18d03ad 100644 +--- a/cython/setup.py.in ++++ b/cython/setup.py.in +@@ -36,7 +36,7 @@ gudhi = Extension( + libraries=[@GUDHI_CYTHON_LIBRARIES@], + library_dirs=[@GUDHI_CYTHON_LIBRARY_DIRS@], + include_dirs = [@GUDHI_CYTHON_INCLUDE_DIRS@], +- runtime_library_dirs=[@GUDHI_CYTHON_RUNTIME_LIBRARY_DIRS@], ++ runtime_library_dirs=[], + ) + + setup( +-- +2.11.0 + diff --git a/debian/patches/series b/debian/patches/series index d1117f4a..cd9fa866 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ 0002-Disable-the-Sphinx-test.-We-re-not-using-it-as-it-re.patch 0003-Disable-tests-that-use-DFSG-deleted-data-files.patch 0004-Use-system-MathJax.patch +0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch -- cgit v1.2.3