Unverified Commit 3b6d027b authored by Paul Yang's avatar Paul Yang Committed by GitHub

For windows, all python version should use /MT (#4468)

parent dce8229a
......@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment