diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-25 18:13:58 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-25 18:13:58 +0000 |
commit | 87ad4734d1fabf81de74fad1141e89eda9b11659 (patch) | |
tree | 4de82f887ba1ee684718397d416c4a169f0c4667 /build/temp_gyp | |
parent | 55c2ed7f0ebfdc88213175022ac12de5a17a82d5 (diff) | |
download | chromium_src-87ad4734d1fabf81de74fad1141e89eda9b11659.zip chromium_src-87ad4734d1fabf81de74fad1141e89eda9b11659.tar.gz chromium_src-87ad4734d1fabf81de74fad1141e89eda9b11659.tar.bz2 |
src/platform-linux.cc in v8_base now seems to need '-lrt' for
clock_gettime(). Add it to link_settings, and add the
right export_dependent_settings to propagate it through
the hierarchy appropriately.
Review URL: http://codereview.chromium.org/53057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/temp_gyp')
-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', |