summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node.gyp5
-rw-r--r--node.gypi5
2 files changed, 5 insertions, 5 deletions
diff --git a/node.gyp b/node.gyp
index ac8b40ad4e..11ada03947 100644
--- a/node.gyp
+++ b/node.gyp
@@ -315,6 +315,11 @@
'NODE_OPENSSL_SYSTEM_CERT_PATH="<(openssl_system_ca_path)"',
],
},
+ 'conditions': [
+ [ 'node_shared=="true" and node_module_version!="" and OS!="win"', {
+ 'product_extension': '<(shlib_suffix)',
+ }]
+ ],
},
{
'target_name': 'mkssldef',
diff --git a/node.gypi b/node.gypi
index 507ca846ed..1bb6581a00 100644
--- a/node.gypi
+++ b/node.gypi
@@ -11,11 +11,6 @@
'defines': [
'NODE_SHARED_MODE',
],
- 'conditions': [
- [ 'node_module_version!="" and OS!="win"', {
- 'product_extension': '<(shlib_suffix)',
- }]
- ],
}],
[ 'node_enable_d8=="true"', {
'dependencies': [ 'deps/v8/src/d8.gyp:d8' ],