From 3b6d027ba250c96ac1c5e3c0a1de0b1570d7bba1 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Fri, 6 Apr 2018 15:43:32 -0700 Subject: For windows, all python version should use /MT (#4468) --- python/setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'python') 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(): -- cgit v1.2.3