aboutsummaryrefslogtreecommitdiffstats
path: root/testing/julia/0005-fix-rpath-issues.patch
diff options
context:
space:
mode:
authorShiz <hi@shiz.me>2017-05-21 00:09:49 +0200
committerShiz <hi@shiz.me>2017-05-21 00:09:49 +0200
commit432edf7ae5a4d034cf304430bba63d7ce1d6f92a (patch)
tree8864a9acc8b19872cfa157be5a783dd472007719 /testing/julia/0005-fix-rpath-issues.patch
parent2437d87efb4f54b3d3a162e619a36a43f647723b (diff)
downloadaports-432edf7ae5a4d034cf304430bba63d7ce1d6f92a.tar.bz2
aports-432edf7ae5a4d034cf304430bba63d7ce1d6f92a.tar.xz
testing/julia: fix PaX and rpath issues, add missed files to -dbg
Diffstat (limited to 'testing/julia/0005-fix-rpath-issues.patch')
-rw-r--r--testing/julia/0005-fix-rpath-issues.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/julia/0005-fix-rpath-issues.patch b/testing/julia/0005-fix-rpath-issues.patch
new file mode 100644
index 0000000000..82c537756e
--- /dev/null
+++ b/testing/julia/0005-fix-rpath-issues.patch
@@ -0,0 +1,11 @@
+--- a/Make.inc
++++ b/Make.inc
+@@ -873,7 +873,7 @@
+ RPATH_ESCAPED_ORIGIN := $(RPATH_ORIGIN)
+ RPATH_LIB := -Wl,-rpath,'@loader_path/' -Wl,-rpath,'@loader_path/julia/'
+ else
+- RPATH := -Wl,-rpath,'$$ORIGIN/$(build_libdir_rel)' -Wl,-rpath-link,$(build_shlibdir) -Wl,-z,origin
++ RPATH := -Wl,-rpath,'$$ORIGIN/$(build_libdir_rel)' -Wl,-rpath,'$$ORIGIN/$(build_private_libdir_rel)' -Wl,-rpath-link,$(build_shlibdir) -Wl,-z,origin
+ RPATH_ORIGIN := -Wl,-rpath,'$$ORIGIN' -Wl,-z,origin
+ RPATH_ESCAPED_ORIGIN := -Wl,-rpath,'\$$\$$ORIGIN' -Wl,-z,origin
+ RPATH_LIB := -Wl,-rpath,'$$ORIGIN' -Wl,-rpath,'$$ORIGIN/julia' -Wl,-z,origin