Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index f244e2a041200f9acdecb54c189a7a08f048251d..36a648c9d51f2bcf341e9d083307bc90af1328af 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2250,6 +2250,14 @@ |
}, { # else: branding!="Chrome" |
'defines': ['CHROMIUM_BUILD'], |
}], |
+ ['OS=="mac"', { |
+ 'xcode_settings': { |
+ 'LD_RUNPATH_SEARCH_PATHS': [ |
+ # To find dylibs such as libexif. |
+ '@loader_path/.', |
+ ], |
+ }, |
+ }], |
['OS=="mac" and component=="shared_library"', { |
'xcode_settings': { |
'DYLIB_INSTALL_NAME_BASE': '@rpath', |