diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2018-04-06 15:43:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-06 15:43:32 -0700 |
commit | 3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1 (patch) | |
tree | dcbc9f7476dd8904788378dfb13246a39377132b /python/setup.py | |
parent | dce8229a38a67a0efa714ccf7fd3c2cf353fba63 (diff) | |
download | protobuf-3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1.tar.gz protobuf-3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1.tar.bz2 protobuf-3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1.zip |
For windows, all python version should use /MT (#4468)
Diffstat (limited to 'python/setup.py')
-rwxr-xr-x | python/setup.py | 4 |
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(): |