Revision: 11591
Author:   [email protected]
Date:     Fri May 18 04:15:14 2012
Log:      Fix shared library build errors.

[email protected]
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10389203
http://code.google.com/p/v8/source/detail?r=11591

Modified:
 /branches/bleeding_edge/SConstruct

=======================================
--- /branches/bleeding_edge/SConstruct  Fri May 11 05:18:09 2012
+++ /branches/bleeding_edge/SConstruct  Fri May 18 04:15:14 2012
@@ -101,14 +101,14 @@
     '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

Reply via email to