diff options
-rw-r--r-- | build/temp_gyp/v8.gyp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/build/temp_gyp/v8.gyp b/build/temp_gyp/v8.gyp index 99270e5f..59cb1691 100644 --- a/build/temp_gyp/v8.gyp +++ b/build/temp_gyp/v8.gyp @@ -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', |