summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-11-29 16:41:41 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2011-12-29 01:56:09 +0100
commitb3d4938e3e04394f672f8f15feb779b231424bb6 (patch)
tree46b068e06529b6ccd54be4accf31ad412af044b9 /node.gyp
parent66116924edb6fcdb2b30f809f479e3f750ca4d61 (diff)
downloadnode-b3d4938e3e04394f672f8f15feb779b231424bb6.tar.gz
build: add --without-isolates configure switch
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 0fff5b4e9..9de349283 100644
--- a/node.gyp
+++ b/node.gyp
@@ -130,6 +130,12 @@
],
'conditions': [
+ [ 'node_use_isolates=="true"', {
+ 'defines': [ 'HAVE_ISOLATES=1' ],
+ }, {
+ 'defines': [ 'HAVE_ISOLATES=0' ],
+ }],
+
[ 'node_use_openssl=="true"', {
'defines': [ 'HAVE_OPENSSL=1' ],
'sources': [ 'src/node_crypto.cc' ],