From a42a89fa6bdb155c444ac1d1bfb1b212b37a6447 Mon Sep 17 00:00:00 2001 From: Stefan Budeanu Date: Tue, 19 Jul 2016 21:03:33 -0400 Subject: [PATCH] build: cherry pick V8 change 6f68f30 for windows DLL support Add force_dynamic_crt option to build a static library with /MD on windows Adds option to build a V8 library statically, but with the options on windows that allows it to be subsequently included in another DLL. On Windows this is required for it to correclty link against the correct C++ runtime. Require for our Node.js shared library build. PR-URL: https://github.com/nodejs/node/pull/8084 Reference: nodejs/node#7487 Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell --- deps/v8/build/toolchain.gypi | 7 ++++--- deps/v8/include/v8-version.h | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/deps/v8/build/toolchain.gypi b/deps/v8/build/toolchain.gypi index 4dbf42bfe3795c..d484ac9e118ab7 100644 --- a/deps/v8/build/toolchain.gypi +++ b/deps/v8/build/toolchain.gypi @@ -39,6 +39,7 @@ 'ubsan_vptr%': 0, 'v8_target_arch%': '<(target_arch)', 'v8_host_byteorder%': '