Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef1c6fd

Browse files
meteorcloudylaszlocsomor
authored andcommitted
msvc_tools.py.tpl: Change default runtime library to static
Fixed bazelbuild#2415 -- PiperOrigin-RevId: 145530562 MOS_MIGRATED_REVID=145530562
1 parent 81ea54e commit ef1c6fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/cpp/wrapper/bin/pydir/msvc_tools.py.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class ArgParser(object):
374374
rt = opt[:3]
375375
rt_idx = len(self.options) - i - 1
376376
break
377-
rt = rt or '/MD' # Default to dynamic runtime
377+
rt = rt or '/MT' # Default to static runtime
378378
# Add debug if necessary
379379
if enforce_debug_rt:
380380
rt += 'd'

0 commit comments

Comments
 (0)