From: Martin v. Löwis Date: Thu, 12 Dec 2002 20:23:38 +0000 (+0000) Subject: Patch #629126: Detect BLT by also looking for libBLT. X-Git-Tag: v2.3c1~3041 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=427a290c9afca605ab8ed799f0072d890318b837;p=python Patch #629126: Detect BLT by also looking for libBLT. --- diff --git a/setup.py b/setup.py index 2827af752b..bc49d74326 100644 --- a/setup.py +++ b/setup.py @@ -950,6 +950,10 @@ class PyBuildExt(build_ext): 'BLT8.0'): defs.append( ('WITH_BLT', 1) ) libs.append('BLT8.0') + elif self.compiler.find_library_file(lib_dirs + added_lib_dirs, + 'BLT'): + defs.append( ('WITH_BLT', 1) ) + libs.append('BLT') # Add the Tcl/Tk libraries libs.append('tk'+version)