Patch #629126: Detect BLT by also looking for libBLT.

This commit is contained in:
Martin v. Löwis 2002-12-12 20:23:38 +00:00
parent 00b6127097
commit 427a290c9a
1 changed files with 4 additions and 0 deletions

View File

@ -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)