Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Unified Diff: pylib/gyp/xcode_emulation.py

Issue 10384109: mac ninja: Support LD_RUNPATH_SEARCH_PATHS. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mac/gyptest-rpath.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | test/mac/gyptest-rpath.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698