Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
build: fix gyp conditions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhorton committed Nov 16, 2017
1 parent cb986dc commit 92aaf56
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,15 @@
'V8_DEPRECATION_WARNINGS=1',
'NODE_OPENSSL_SYSTEM_CERT_PATH="<(openssl_system_ca_path)"',
],
'direct_dependent_settings': {
'defines': [
'NODE_OPENSSL_SYSTEM_CERT_PATH="<(openssl_system_ca_path)"',
],
},
'conditions': [
[ 'node_shared=="true" and node_module_version!="" and OS!="win"', {
'product_extension': '<(shlib_suffix)',
}],
[ 'node_engine=="chakracore"', {
'sources': [
'src/node_api_jsrt.cc',
Expand All @@ -327,17 +335,6 @@
'sources': [
'src/node_api.cc',
],
}],
],

'direct_dependent_settings': {
'defines': [
'NODE_OPENSSL_SYSTEM_CERT_PATH="<(openssl_system_ca_path)"',
],
},
'conditions': [
[ 'node_shared=="true" and node_module_version!="" and OS!="win"', {
'product_extension': '<(shlib_suffix)',
}]
],
},
Expand Down

0 comments on commit 92aaf56

Please sign in to comment.