gyp: preserve v8dbg syms on freebsd too

This commit is contained in:
Fedor Indutny 2014-08-17 14:17:30 +04:00
parent 0d357fa135
commit 9134a3bf41

View File

@ -191,7 +191,7 @@
], ],
}, },
'conditions': [ 'conditions': [
['OS=="linux"', { ['OS in "linux freebsd"', {
'ldflags': [ 'ldflags': [
'-Wl,--whole-archive <(PRODUCT_DIR)/libopenssl.a -Wl,--no-whole-archive', '-Wl,--whole-archive <(PRODUCT_DIR)/libopenssl.a -Wl,--no-whole-archive',
], ],
@ -351,7 +351,7 @@
], ],
}], }],
[ [
'OS=="linux" and node_shared_v8=="false"', { 'OS in "linux freebsd" and node_shared_v8=="false"', {
'ldflags': [ 'ldflags': [
'-Wl,--whole-archive <(V8_BASE) -Wl,--no-whole-archive', '-Wl,--whole-archive <(V8_BASE) -Wl,--no-whole-archive',
], ],