Reviewers: Jakob,
Description:
Fix shared library build errors.
[email protected]
BUG=
TEST=
Please review this at https://chromiumcodereview.appspot.com/10389203/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M SConstruct
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': {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev