From 92bbd60a3ffaf7b22e29576d720027cc835bf60e Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Tue, 10 Dec 2013 10:10:34 -0800 Subject: [PATCH] build: only whole archive on static v8 builds Closes #6629 --- node.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.gyp b/node.gyp index 3a1b8c9..ae8c7e5 100644 --- a/node.gyp +++ b/node.gyp @@ -291,7 +291,7 @@ ], }], [ - 'OS=="linux"', { + 'OS=="linux" and node_shared_v8=="false"', { 'ldflags': [ '-Wl,--whole-archive <(PRODUCT_DIR)/obj.target/deps/v8/tools/gyp/libv8_base.a -Wl,--no-whole-archive', ], -- 2.7.4