From 9d05c596008da317aea87c2dc9b8bc842643335d Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 30 Jan 2018 20:07:35 +0900 Subject: [PATCH] node.so should link with libc++.so --- common.gypi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index 76eb017387a9..7623eba2184f 100644 --- a/common.gypi +++ b/common.gypi @@ -246,12 +246,15 @@ }], # OS=="win" ], }], - ['OS=="linux" and _target_name in ["dump_syms"]', { + ['OS=="linux" and _target_name in ["dump_syms", "node"]', { 'conditions': [ ['libchromiumcontent_component==0', { 'libraries': [ '<(libchromiumcontent_dir)/libc++.a', ], + 'ldflags': [ + '-lpthread', + ], }, { 'libraries': [ '<(libchromiumcontent_dir)/libc++.so',