node.so should link with libc++.so

This commit is contained in:
Cheng Zhao 2018-01-30 20:07:35 +09:00
parent 2fcf2c81bf
commit 9d05c59600

View file

@ -246,12 +246,15 @@
}], # OS=="win" }], # OS=="win"
], ],
}], }],
['OS=="linux" and _target_name in ["dump_syms"]', { ['OS=="linux" and _target_name in ["dump_syms", "node"]', {
'conditions': [ 'conditions': [
['libchromiumcontent_component==0', { ['libchromiumcontent_component==0', {
'libraries': [ 'libraries': [
'<(libchromiumcontent_dir)/libc++.a', '<(libchromiumcontent_dir)/libc++.a',
], ],
'ldflags': [
'-lpthread',
],
}, { }, {
'libraries': [ 'libraries': [
'<(libchromiumcontent_dir)/libc++.so', '<(libchromiumcontent_dir)/libc++.so',