summarylogtreecommitdiffstats
path: root/gyp-no-rpath.patch
diff options
context:
space:
mode:
authorJonas Heinrich2017-11-28 22:19:37 +0100
committerJonas Heinrich2017-11-28 22:19:37 +0100
commitbe249aa85007b8d48a4eab7dfe38e2404f70034c (patch)
tree56dc099158b510b348ec5f734434eea8a2f74f90 /gyp-no-rpath.patch
downloadaur-electron-wayland.tar.gz
first commit
Diffstat (limited to 'gyp-no-rpath.patch')
-rw-r--r--gyp-no-rpath.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gyp-no-rpath.patch b/gyp-no-rpath.patch
new file mode 100644
index 000000000000..22c7b160e11d
--- /dev/null
+++ b/gyp-no-rpath.patch
@@ -0,0 +1,12 @@
+--- a/pylib/gyp/generator/ninja.py
++++ b/pylib/gyp/generator/ninja.py
+@@ -1221,9 +1221,6 @@
+ rpath = 'lib/'
+ if self.toolset != 'target':
+ rpath += self.toolset
+- ldflags.append(r'-Wl,-rpath=\$$ORIGIN/%s' % rpath)
+- else:
+- ldflags.append('-Wl,-rpath=%s' % self.target_rpath)
+ ldflags.append('-Wl,-rpath-link=%s' % rpath)
+ self.WriteVariableList(ninja_file, 'ldflags',
+ map(self.ExpandSpecial, ldflags))