Skip to content

Commit 7bc8e35

Browse files
stefanmbStewart Addison
authored and
Stewart Addison
committed
build: cherry pick V8 change for windows DLL support
1 parent 3c0193d commit 7bc8e35

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

deps/v8/build/toolchain.gypi

+4-3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
'ubsan_vptr%': 0,
4040
'v8_target_arch%': '<(target_arch)',
4141
'v8_host_byteorder%': '<!(python -c "import sys; print sys.byteorder")',
42+
'force_dynamic_crt%': 0,
4243
# Native Client builds currently use the V8 ARM JIT and
4344
# arm/simulator-arm.cc to defer the significant effort required
4445
# for NaCl JIT support. The nacl_target_arch variable provides
@@ -1104,7 +1105,7 @@
11041105
'VCCLCompilerTool': {
11051106
'Optimization': '0',
11061107
'conditions': [
1107-
['component=="shared_library"', {
1108+
['component=="shared_library" or force_dynamic_crt==1', {
11081109
'RuntimeLibrary': '3', # /MDd
11091110
}, {
11101111
'RuntimeLibrary': '1', # /MTd
@@ -1156,7 +1157,7 @@
11561157
'StringPooling': 'true',
11571158
'BasicRuntimeChecks': '0',
11581159
'conditions': [
1159-
['component=="shared_library"', {
1160+
['component=="shared_library" or force_dynamic_crt==1', {
11601161
'RuntimeLibrary': '3', #/MDd
11611162
}, {
11621163
'RuntimeLibrary': '1', #/MTd
@@ -1346,7 +1347,7 @@
13461347
'FavorSizeOrSpeed': '0',
13471348
'StringPooling': 'true',
13481349
'conditions': [
1349-
['component=="shared_library"', {
1350+
['component=="shared_library" or force_dynamic_crt==1', {
13501351
'RuntimeLibrary': '2', #/MD
13511352
}, {
13521353
'RuntimeLibrary': '0', #/MT

0 commit comments

Comments
 (0)