summarylogtreecommitdiffstats
path: root/gyp-no-rpath.patch
blob: 2843e98fc1a60fb93bdeae4d298dc860eda793b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
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))