diff options
author | Martijn Voncken <mvoncken@gmail.com> | 2008-11-06 19:12:11 +0000 |
---|---|---|
committer | Martijn Voncken <mvoncken@gmail.com> | 2008-11-06 19:12:11 +0000 |
commit | a311bcbcec809e6b1239c2c9d5be20d63585756b (patch) | |
tree | b92b74e5ed16f05241c4cd80af9335499e28da6d /setup.py | |
parent | 41dbab69b2078a106927bc405a90941164253979 (diff) | |
download | deluge-a311bcbcec809e6b1239c2c9d5be20d63585756b.tar.gz deluge-a311bcbcec809e6b1239c2c9d5be20d63585756b.tar.bz2 deluge-a311bcbcec809e6b1239c2c9d5be20d63585756b.zip |
config fixes
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -88,6 +88,7 @@ _extra_compile_args = [ "-DNDEBUG", "-DTORRENT_USE_OPENSSL=1", "-O2", + "-DTORRENT_UPNP_LOGGING", ] if windows_check(): @@ -169,15 +170,15 @@ else: 'ssl', 'z' ] - + if not windows_check(): dynamic_lib_extension = ".so" if osx_check(): dynamic_lib_extension = ".dylib" _lib_extensions = ['-mt-1_36', '-mt-1_35', '-mt'] - - # Modify the libs if necessary for systems with only -mt boost libs + + # Modify the libs if necessary for systems with only -mt boost libs for lib in _libraries: if lib[:6] == "boost_": for lib_prefix in _library_dirs: @@ -187,7 +188,7 @@ else: _libraries[_libraries.index(lib)] = lib + lib_suffix lib = lib + lib_suffix break - + _sources = glob.glob("./libtorrent/src/*.cpp") + \ glob.glob("./libtorrent/src/*.c") + \ glob.glob("./libtorrent/src/kademlia/*.cpp") + \ @@ -213,7 +214,7 @@ if windows_check() or not os.path.exists(os.path.join(sysconfig.get_config_var(" library_dirs = _library_dirs, sources = _sources ) - + _ext_modules = [libtorrent] class build_trans(cmd.Command): |