diff --git a/node.gyp b/node.gyp index c3b766059b..5454af2f96 100644 --- a/node.gyp +++ b/node.gyp @@ -191,7 +191,7 @@ ], }, 'conditions': [ - ['OS=="linux"', { + ['OS in "linux freebsd"', { 'ldflags': [ '-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': [ '-Wl,--whole-archive <(V8_BASE) -Wl,--no-whole-archive', ],