Chromium Code Reviews| Index: pylib/gyp/generator/ninja.py |
| =================================================================== |
| --- pylib/gyp/generator/ninja.py (revision 1577) |
| +++ pylib/gyp/generator/ninja.py (working copy) |
| @@ -920,6 +920,7 @@ |
| ldflags = config.get('ldflags', []) |
| if is_executable and len(solibs): |
| ldflags.append('-Wl,-rpath=\$$ORIGIN/lib/') |
| + ldflags.append('-Wl,-rpath-link=lib/') |
| self.WriteVariableList('ldflags', |
| gyp.common.uniquer(map(self.ExpandSpecial, |
| ldflags))) |