1 diff -burNp deluge-1.0.5/setup.py deluge-1.0.5-new/setup.py
2 --- deluge-1.0.5/setup.py 2008-11-09 17:44:40.000000000 +0100
3 +++ deluge-1.0.5-new/setup.py 2008-11-12 16:39:58.129552094 +0100
4 @@ -180,18 +180,18 @@ for source in _sources:
8 -if windows_check() or not os.path.exists(os.path.join(sysconfig.get_config_var("LIBDIR"), "libtorrent-rasterbar.so.1")):
9 - # There isn't a system libtorrent library, so let's build the one included with deluge
10 - libtorrent = Extension(
11 +# Force to build libtorrent module that comes with deluge, otherwise
13 +libtorrent = Extension(
15 extra_compile_args = _extra_compile_args,
16 include_dirs = _include_dirs,
17 libraries = _libraries,
18 library_dirs = _library_dirs,
23 - _ext_modules = [libtorrent]
24 +_ext_modules = [libtorrent]
26 class build_trans(cmd.Command):
27 description = 'Compile .po files into .mo files'
28 @@ -294,7 +294,7 @@ setup(
29 deluged = deluge.main:start_daemon
31 ext_package = "deluge",
32 - ext_modules = [libtorrent],
33 + ext_modules = _ext_modules,
34 fullname = "Deluge Bittorent Client",
35 include_package_data = True,