From 586543917a903caac30248b56fe3d27b166c478a Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 3 Feb 2008 03:24:36 +0000 Subject: [PATCH] add proper boost path for windows --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a278bda6b..ee8bf6962 100644 --- a/setup.py +++ b/setup.py @@ -121,6 +121,9 @@ if not windows_check(): _extra_link_args = [ ] +_library_dirs = [ +] + _include_dirs = [ './libtorrent', './libtorrent/include', @@ -138,7 +141,8 @@ _libraries = [ if windows_check(): _extra_link_args += ['-L./win32/lib'] - _include_dirs += ['./win32/include'] + _include_dirs += ['./win32/include', 'C:/Program Files/boost/boost_1_34_1'] + _library_dirs += ['C:/Program Files/boost/boost_1_34_1/lib'] _libraries += [ 'ssleay32MT', 'libeay32MT', @@ -165,6 +169,7 @@ if not windows_check(): libtorrent = Extension( 'libtorrent', include_dirs = _include_dirs, + library_dirs = _library_dirs, libraries = _libraries, extra_compile_args = _extra_compile_args, extra_link_args = _extra_link_args,