Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index f91994955966987074fe684872f154c5f6a0eb82..668d0f667145fe78afd124c68cca2dc759be28c7 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2243,6 +2243,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', |