summaryrefslogtreecommitdiff
path: root/tools/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/install.py')
-rwxr-xr-xtools/install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/install.py b/tools/install.py
index 4f155376ea..d1100352c6 100755
--- a/tools/install.py
+++ b/tools/install.py
@@ -165,7 +165,8 @@ def headers(action):
if 'false' == variables.get('node_shared_libuv'):
subdir_files('deps/uv/include', 'include/node/', action)
- if 'false' == variables.get('node_shared_openssl'):
+ if 'true' == variables.get('node_use_openssl') and \
+ 'false' == variables.get('node_shared_openssl'):
subdir_files('deps/openssl/openssl/include/openssl', 'include/node/openssl/', action)
subdir_files('deps/openssl/config/archs', 'include/node/openssl/archs', action)
action(['deps/openssl/config/opensslconf.h'], 'include/node/openssl/')