summarylogtreecommitdiffstats
path: root/gyp-no-rpath.patch
blob: 22c7b160e11d43399d67bc0b4ab4509b643daea7 (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
@@ -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))