summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index f244e2a..36a648c 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',