diff options
author | Stefan Budeanu <stefan@budeanu.com> | 2016-06-29 16:03:18 -0400 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-08-24 15:33:59 -0700 |
commit | 4e4c0915421aae960cc9d1b34034ce7c1808648f (patch) | |
tree | 80428dfdaf7e93a48b742dfc4058e2ca134b2591 /configure | |
parent | 4118598dbbaa012e1dce5b9c7d1f39bfcb2bff9c (diff) | |
download | node-new-4e4c0915421aae960cc9d1b34034ce7c1808648f.tar.gz |
build: windows sharedlib support
Original Commit Message:
Added "dll" option to vcbuild.bat
Insure that Unix SO name is not used on Windows (i.e. produce a .dll file)
Insure that Node and its V8 dependency link against the Visual C++ Runtime
dynamically.
Requires backported V8 patch, see PR 7802.
Ref: https://github.com/nodejs/node/pull/7802
PR-URL: https://github.com/nodejs/node/pull/7487
Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
PR-URL: https://github.com/nodejs/node/pull/8084
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -893,6 +893,7 @@ def configure_v8(o): o['variables']['v8_use_snapshot'] = 'false' if options.without_snapshot else 'true' o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform) o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8) + o['variables']['force_dynamic_crt'] = 1 if options.shared else 0 o['variables']['node_enable_d8'] = b(options.enable_d8) if options.enable_d8: o['variables']['test_isolation_mode'] = 'noop' # Needed by d8.gyp. |