Index: build/sanitizers/sanitizers.gyp |
diff --git a/build/sanitizers/sanitizers.gyp b/build/sanitizers/sanitizers.gyp |
index cbe7ec015d7506990f8e4b001a3a546f69905998..d971d6d1c35b1e905b6f11f9fc23d57b755f26a9 100644 |
--- a/build/sanitizers/sanitizers.gyp |
+++ b/build/sanitizers/sanitizers.gyp |
@@ -45,6 +45,15 @@ |
'ldflags': [ |
'-Wl,-u_sanitizer_options_link_helper', |
], |
+ 'target_conditions': [ |
+ ['_type=="executable"', { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': [ |
+ '-Wl,-u,__sanitizer_options_link_helper', |
+ ], |
+ }, |
+ }], |
+ ], |
}, |
}, |
], |