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: http://src.chromium.org/svn/trunk/src/build@12468 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
1a2cb009fa
Коммит
94ca7a751c
|
@ -337,6 +337,12 @@
|
|||
'conditions': [
|
||||
['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',
|
||||
|
|
Загрузка…
Ссылка в новой задаче