Chromium Code Reviews| Index: pylib/gyp/xcode_emulation.py |
| =================================================================== |
| --- pylib/gyp/xcode_emulation.py (revision 1374) |
| +++ pylib/gyp/xcode_emulation.py (working copy) |
| @@ -536,6 +536,9 @@ |
| if install_name: |
| ldflags.append('-install_name ' + install_name.replace(' ', r'\ ')) |
| + for rpath in self._Settings().get('LD_RUNPATH_SEARCH_PATHS', []): |
| + ldflags.append('-Wl,-rpath,' + rpath) |
| + |
| self.configname = None |
| return ldflags |