Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-08-30 02:01:43 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2011-09-13 01:48:29 +0400
commit9f986981f8b0818e610b0ed73e7341c5d934e762 (patch)
tree8d75b91810285301540358f95dd52d1cfaff4079 /node.gyp
parentfe7e00d51a05f379ad6323628226ea1b7c0ed339 (diff)
build: configure node, v8, cares and openssl
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp9
1 files changed, 8 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index c0a390b5707..3a39fb92d7c 100644
--- a/node.gyp
+++ b/node.gyp
@@ -51,6 +51,10 @@
],
},
+ 'includes': [
+ './options.gypi'
+ ],
+
'targets': [
{
'target_name': 'node',
@@ -136,7 +140,10 @@
[ 'node_use_openssl=="true"', {
'defines': [ 'HAVE_OPENSSL=1' ],
'sources': [ 'src/node_crypto.cc' ],
- 'dependencies': [ './deps/openssl/openssl.gyp:openssl' ]
+ 'conditions': [
+ [ 'node_use_system_openssl=="false"', {
+ 'dependencies': [ './deps/openssl/openssl.gyp:openssl' ],
+ }]]
}, {
'defines': [ 'HAVE_OPENSSL=0' ]
}],