tools: fix install source path for openssl headers
authorOguz Bastemur <obastemur@gmail.com>
Mon, 6 Apr 2015 07:14:27 +0000 (09:14 +0200)
committerShigeki Ohtsu <ohtsu@iij.ad.jp>
Mon, 6 Apr 2015 08:20:36 +0000 (17:20 +0900)
This part is broken for a very long time. We noticed the problem while
using jxcore native interface with embedded openssl. I've also sent a
pull request to node.js repo. The problem may affect a native addon
using builtin openssl. `opensslconf.h` is overwritten with
`deps/openssl/conf/opensslconf.h`

PR-URL: https://github.com/iojs/io.js/pull/1354
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
tools/install.py

index 5cf78b5..2d00cf0 100755 (executable)
@@ -173,8 +173,8 @@ def files(action):
     subdir_files('deps/uv/include', 'include/node/', action)
 
   if 'false' == variables.get('node_shared_openssl'):
+    subdir_files('deps/openssl/openssl/include/openssl', 'include/node/openssl/', action)
     action(['deps/openssl/config/opensslconf.h'], 'include/node/openssl/')
-    subdir_files('deps/openssl/include/openssl', 'include/node/openssl/', action)
 
   if 'false' == variables.get('node_shared_v8'):
     subdir_files('deps/v8/include', 'include/node/', action)