Skip to content

Commit 92bbd60

Browse files
committed
build: only whole archive on static v8 builds
Closes #6629
1 parent 2905884 commit 92bbd60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node.gyp

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
],
292292
}],
293293
[
294-
'OS=="linux"', {
294+
'OS=="linux" and node_shared_v8=="false"', {
295295
'ldflags': [
296296
'-Wl,--whole-archive <(PRODUCT_DIR)/obj.target/deps/v8/tools/gyp/libv8_base.a -Wl,--no-whole-archive',
297297
],

0 commit comments

Comments
 (0)