aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2018-04-06 15:43:32 -0700
committerGitHub <noreply@github.com>2018-04-06 15:43:32 -0700
commit3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1 (patch)
treedcbc9f7476dd8904788378dfb13246a39377132b /python
parentdce8229a38a67a0efa714ccf7fd3c2cf353fba63 (diff)
downloadprotobuf-3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1.tar.gz
protobuf-3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1.tar.bz2
protobuf-3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1.zip
For windows, all python version should use /MT (#4468)
Diffstat (limited to 'python')
-rwxr-xr-xpython/setup.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/setup.py b/python/setup.py
index afe021fe..8f1caec2 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -203,9 +203,7 @@ if __name__ == '__main__':
extra_compile_args.append('-DMS_WIN64')
# MSVS default is dymanic
- if (sys.platform == 'win32' and
- ((sys.version_info[0] == 3 and sys.version_info[1] == 5) or
- (sys.version_info[0] == 3 and sys.version_info[1] == 6))):
+ if (sys.platform == 'win32'):
extra_compile_args.append('/MT')
if "clang" in os.popen('$CC --version 2> /dev/null').read():