gyp: preserve v8dbg syms on freebsd too
authorFedor Indutny <fedor@indutny.com>
Mon, 18 Aug 2014 13:58:36 +0000 (17:58 +0400)
committerFedor Indutny <fedor@indutny.com>
Mon, 18 Aug 2014 13:58:36 +0000 (17:58 +0400)
node.gyp

index 33c4f0e..fbf0292 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',
             ],