Skip to content

Commit

Permalink
For windows, all python version should use /MT
Browse files Browse the repository at this point in the history
  • Loading branch information
TeBoring committed Apr 2, 2018
1 parent c931743 commit a3a4767
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/setup.py
Expand Up @@ -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():
Expand Down

0 comments on commit a3a4767

Please sign in to comment.