mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Always look for -mt boost libraries first
This commit is contained in:
parent
8b58c960f3
commit
0497c407e1
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -173,7 +173,7 @@ else:
|
||||||
if osx_check():
|
if osx_check():
|
||||||
dynamic_lib_extension = ".dylib"
|
dynamic_lib_extension = ".dylib"
|
||||||
|
|
||||||
_lib_extensions = ['-mt_1_39', '-mt-1_38', '-mt-1_37', '-mt-1_36', '-mt-1_35', '-mt']
|
_lib_extensions = ['-mt', '-mt_1_39', '-mt-1_38', '-mt-1_37', '-mt-1_36', '-mt-1_35']
|
||||||
|
|
||||||
# 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:
|
for lib in _libraries:
|
||||||
|
@ -318,7 +318,7 @@ class build_debug(build):
|
||||||
sub_commands = [x for x in build.sub_commands if x[0] != 'build_ext'] + [('build_ext_debug', None)]
|
sub_commands = [x for x in build.sub_commands if x[0] != 'build_ext'] + [('build_ext_debug', None)]
|
||||||
|
|
||||||
class build_ext_debug(_build_ext):
|
class build_ext_debug(_build_ext):
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if not self.distribution.ext_modules:
|
if not self.distribution.ext_modules:
|
||||||
return _build_ext.run(self)
|
return _build_ext.run(self)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue