summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2009-01-12 23:30:33 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2009-01-12 23:30:33 +0000
commit14006f83b52f4a7391224b8839aafe9b604176fd (patch)
tree01e94b96e162774c396ad137f54944d5bbd6d01e
parentf83a180de8c3ae8ac679895daebf48100df54fff (diff)
downloaddeluge-14006f83b52f4a7391224b8839aafe9b604176fd.tar.gz
deluge-14006f83b52f4a7391224b8839aafe9b604176fd.tar.bz2
deluge-14006f83b52f4a7391224b8839aafe9b604176fd.zip
windows updates to switch to boost 1.37 and python 2.6
-rw-r--r--setup.py21
1 files changed, 14 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index f18fbed37..2b50af801 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',