summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2013-12-10 10:10:34 -0800
committerTimothy J Fontaine <tjfontaine@gmail.com>2013-12-10 10:11:28 -0800
commit92bbd60a3ffaf7b22e29576d720027cc835bf60e (patch)
tree1055f1615f3237b960631bd3e22307e9777dfac5 /node.gyp
parent2905884b63eb24184b576b1a963a4d72b0159171 (diff)
downloadnode-92bbd60a3ffaf7b22e29576d720027cc835bf60e.tar.gz
build: only whole archive on static v8 builds
Closes #6629
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index 3a1b8c9cd..ae8c7e5e2 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',
],