From 427a290c9afca605ab8ed799f0072d890318b837 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 12 Dec 2002 20:23:38 +0000 Subject: [PATCH] Patch #629126: Detect BLT by also looking for libBLT. --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.40.0