Index: tools/gyp/v8.gyp |
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp |
index 82808b9af2e1fd4dad793da22b4d1eef6e8c694d..4e65cc26422db51d3ab193ea03caa760bf39cc39 100644 |
--- a/tools/gyp/v8.gyp |
+++ b/tools/gyp/v8.gyp |
@@ -59,6 +59,11 @@ |
'../../src/v8dll-main.cc', |
], |
'conditions': [ |
+ ['OS=="mac"', { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] |
+ }, |
+ }], |
['OS=="win"', { |
'defines': [ |
'BUILDING_V8_SHARED', |