diff options
author | Johan Bergström <bugs@bergstroem.nu> | 2016-03-18 09:25:17 +1100 |
---|---|---|
committer | Johan Bergström <bugs@bergstroem.nu> | 2016-04-05 19:45:53 +1000 |
commit | 2253be95d06c63b9c3593a8c2769984168309564 (patch) | |
tree | 7ccf5b4e938b046658fcac612268aa384af0ea26 /tools/install.py | |
parent | ea63f79752e286c2987740a52b81cd289d125806 (diff) | |
download | node-new-2253be95d06c63b9c3593a8c2769984168309564.tar.gz |
deps: reintroduce supporting shared c-ares builds
As of cc192f0e we've now in sync with upstream which means that we
also can allow our users to build against a shared version of c-ares.
Note: It is still up to users to make sure that the library version
is on par with what Node.js bundles.
This "reverts" commit 25fa5c4.
PR-URL: https://github.com/nodejs/node/pull/5775
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'tools/install.py')
-rwxr-xr-x | tools/install.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/install.py b/tools/install.py index cb86c65699..6c3570fa75 100755 --- a/tools/install.py +++ b/tools/install.py @@ -164,9 +164,11 @@ def headers(action): if sys.platform.startswith('aix'): action(['out/Release/node.exp'], 'include/node/') - subdir_files('deps/cares/include', 'include/node/', action) subdir_files('deps/v8/include', 'include/node/', action) + if 'false' == variables.get('node_shared_cares'): + subdir_files('deps/cares/include', 'include/node/', action) + if 'false' == variables.get('node_shared_libuv'): subdir_files('deps/uv/include', 'include/node/', action) |