build: only whole archive on static v8 builds

Closes #6629
This commit is contained in:
Timothy J Fontaine committed 2013-12-10 10:11:28 -08:00
1 parent 2905884b63
commit 92bbd60a3f
1 file changed
+1 -1
+1 -1
View File
@@ -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',
],