Index: SConstruct |
diff --git a/SConstruct b/SConstruct |
index b0d13447003d296100cbb0c2c147a2de6779f9a5..ebce7ff892130fc566dcbe5932a8564dace18b51 100644 |
--- a/SConstruct |
+++ b/SConstruct |
@@ -101,14 +101,14 @@ LIBRARY_FLAGS = { |
'os:linux': { |
'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, |
'library:shared': { |
- 'CPPDEFINES': ['V8_SHARED'], |
+ 'CPPDEFINES': ['V8_SHARED', 'BUILDING_V8_SHARED'], |
'LIBS': ['pthread'] |
} |
}, |
'os:macos': { |
'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], |
'library:shared': { |
- 'CPPDEFINES': ['V8_SHARED'] |
+ 'CPPDEFINES': ['V8_SHARED', 'BUILDING_V8_SHARED'], |
} |
}, |
'os:freebsd': { |