diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2017-10-16 13:50:07 +0200 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2017-10-16 13:50:07 +0200 |
commit | f7db9bf5d25f92f04651042ba1777f931f0ef56f (patch) | |
tree | bea258f51544f53d40aae7118be16196fe4e940b /debian/patches/0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch | |
parent | c83ce9af7071b09cb6007aa1a766074132d2b3e6 (diff) |
New patch to avoid setting RPATH in Python extension.
Diffstat (limited to 'debian/patches/0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch')
-rw-r--r-- | debian/patches/0005-Don-t-set-runtime_library_dirs-for-the-Python-extens.patch | 26 |
1 files changed, 26 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 + |