From a3a4767d96f63117b3be7a7a40a0ac168c3468cf Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Mon, 2 Apr 2018 16:01:02 -0700 Subject: [PATCH] For windows, all python version should use /MT --- python/setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/setup.py b/python/setup.py index afe021fe95f1..8f1caec2834a 100755 --- a/python/setup.py +++ b/python/setup.py @@ -203,9 +203,7 @@ def get_option_from_sys_argv(option_str): 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():