From 0497c407e1ca93773aae376ecbf92327e1640826 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 18 Jun 2010 09:50:58 -0700 Subject: [PATCH] Always look for -mt boost libraries first --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f30be24a3..a026026dc 100644 --- a/setup.py +++ b/setup.py @@ -173,7 +173,7 @@ else: if osx_check(): 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 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)] class build_ext_debug(_build_ext): - + def run(self): if not self.distribution.ext_modules: return _build_ext.run(self)