diff options
Diffstat (limited to 'gyp-no-rpath.patch')
-rw-r--r-- | gyp-no-rpath.patch | 12 |
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..2843e98fc1a6 --- /dev/null +++ b/gyp-no-rpath.patch @@ -0,0 +1,12 @@ +--- a/pylib/gyp/generator/ninja.py ++++ b/pylib/gyp/generator/ninja.py +@@ -1231,9 +1231,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)) |