diff options
author | 2017-01-25 11:43:40 +0000 | |
---|---|---|
committer | 2017-01-25 13:05:30 +0000 | |
commit | ef1c6fd3379c80c66122f0b5fb2f5141ed0ba4a4 (patch) | |
tree | 444783eec530d5bac2f49e62f6f6e5b7aef22a23 /tools/cpp | |
parent | 81ea54e5545803da0e8c0f7402305d5619765f0e (diff) |
msvc_tools.py.tpl: Change default runtime library to static
Fixed https://github.com/bazelbuild/bazel/issues/2415
--
PiperOrigin-RevId: 145530562
MOS_MIGRATED_REVID=145530562
Diffstat (limited to 'tools/cpp')
-rw-r--r-- | tools/cpp/wrapper/bin/pydir/msvc_tools.py.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cpp/wrapper/bin/pydir/msvc_tools.py.tpl b/tools/cpp/wrapper/bin/pydir/msvc_tools.py.tpl index f95cca3a34..96890f72c8 100644 --- a/tools/cpp/wrapper/bin/pydir/msvc_tools.py.tpl +++ b/tools/cpp/wrapper/bin/pydir/msvc_tools.py.tpl @@ -374,7 +374,7 @@ class ArgParser(object): rt = opt[:3] rt_idx = len(self.options) - i - 1 break - rt = rt or '/MD' # Default to dynamic runtime + rt = rt or '/MT' # Default to static runtime # Add debug if necessary if enforce_debug_rt: rt += 'd' |