summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2017-10-16 13:50:07 +0200
committerGard Spreemann <gspreemann@gmail.com>2017-10-16 13:50:07 +0200
commitf7db9bf5d25f92f04651042ba1777f931f0ef56f (patch)
treebea258f51544f53d40aae7118be16196fe4e940b /debian/patches
parentc83ce9af7071b09cb6007aa1a766074132d2b3e6 (diff)
New patch to avoid setting RPATH in Python extension.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch26
-rw-r--r--debian/patches/series1
2 files changed, 27 insertions, 0 deletions
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 <gspreemann@gmail.com>
+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