Index: test/cctest/cctest.gyp |
diff --git a/test/cctest/cctest.gyp b/test/cctest/cctest.gyp |
index ff2795592a42483f5571d5cf2d3a4b70a59f77dc..0b015693020c62a9d9c5edfc3626fc3a645ea047 100644 |
--- a/test/cctest/cctest.gyp |
+++ b/test/cctest/cctest.gyp |
@@ -429,6 +429,7 @@ |
# cctest can't be built against a shared library, so we need to |
# depend on the underlying static target in that case. |
'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
+ 'defines': [ 'BUILDING_V8_SHARED', ] |
}, { |
'dependencies': ['../../src/v8.gyp:v8'], |
}], |
@@ -479,6 +480,7 @@ |
['component=="shared_library"', { |
# Same as cctest, we need to depend on the underlying static target. |
'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
+ 'defines': [ 'BUILDING_V8_SHARED', ] |
}, { |
'dependencies': ['../../src/v8.gyp:v8'], |
}], |