diff --git a/setup.py b/setup.py index af0b3f3bc..4766c1bd9 100644 --- a/setup.py +++ b/setup.py @@ -66,16 +66,23 @@ if windows_check(): "-D_WIN32", "-DWIN32_LEAN_AND_MEAN", "-DBOOST_ALL_NO_LIB", - "-DBOOST_ALL_DYN_LINK", "-DBOOST_THREAD_USE_LIB", "-DBOOST_WINDOWS", "-DBOOST_WINDOWS_API", "-DWIN32", "-DUNICODE", "-D_UNICODE", + "-D_SCL_SECURE_NO_WARNINGS", + "/O2", + "/Ob2", + "/W3", "/GR", + "/MD", + "/wd4675", "/Zc:wchar_t", + "/Zc:forScope", "/EHsc", + "-c", ] else: _extra_compile_args += ["-Wno-missing-braces"] @@ -108,12 +115,12 @@ if windows_check(): _library_dirs += ['./win32/lib'] _libraries = [ 'advapi32', - 'boost_filesystem-vc71-mt-1_36', - 'boost_date_time-vc71-mt-1_36', - 'boost_iostreams-vc71-mt-1_36', - 'boost_python-vc71-mt-1_36', - 'boost_system-vc71-mt-1_36', - 'boost_thread-vc71-mt-1_36', + 'boost_filesystem-vc-mt-1_37', + 'boost_date_time-vc-mt-1_37', + 'boost_iostreams-vc-mt-1_37', + 'boost_python-vc-mt-1_37', + 'boost_system-vc-mt-1_37', + 'boost_thread-vc-mt-1_37', 'gdi32', 'libeay32', 'ssleay32',