gyp: preserve v8dbg syms on freebsd too
authorFedor Indutny <fedor@indutny.com>
Sun, 17 Aug 2014 10:17:30 +0000 (14:17 +0400)
committerFedor Indutny <fedor@indutny.com>
Sun, 17 Aug 2014 10:17:30 +0000 (14:17 +0400)
node.gyp

index c3b766059b66cfa7f9b097ce398184243fda6316..5454af2f963e0785c882d5f2e4bb8a78ca03e2f0 100644 (file)
--- a/node.gyp
+++ b/node.gyp
                 ],
               },
               'conditions': [
-                ['OS=="linux"', {
+                ['OS in "linux freebsd"', {
                   'ldflags': [
                     '-Wl,--whole-archive <(PRODUCT_DIR)/libopenssl.a -Wl,--no-whole-archive',
                   ],
           ],
         }],
         [
-          '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',
             ],