Index: build/temp_gyp/v8.gyp |
=================================================================== |
--- build/temp_gyp/v8.gyp (revision 12452) |
+++ build/temp_gyp/v8.gyp (working copy) |
@@ -335,8 +335,14 @@ |
['exclude', 'src/platform-.*\\.cc$' ], |
], |
'conditions': [ |
- ['OS=="linux"', |
+ ['OS=="linux"', |
{ |
+ 'link_settings': { |
+ 'libraries': [ |
+ # Needed for clock_gettime() used by src/platform-linux.cc. |
+ '-lrt', |
+ ], |
+ }, |
'sources/': [ |
['include', 'src/platform-linux\\.cc$'], |
['include', 'src/platform-posix\\.cc$'] |
@@ -379,6 +385,9 @@ |
'<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc', |
'../../v8/src/snapshot-empty.cc', |
], |
+ 'export_dependent_settings': [ |
+ 'v8_base', |
+ ], |
}, |
{ |
'target_name': 'mksnapshot', |
@@ -424,6 +433,9 @@ |
'../../v8/include', |
], |
}, |
+ 'export_dependent_settings': [ |
+ 'v8_base', |
+ ], |
}, |
{ |
'target_name': 'v8_shell', |