summaryrefslogtreecommitdiff
blob: 5e4221d51506392498f560dda7f82c4df7dce153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Portage preserve-libs removes the linker name (.so) of a library but leaves
the soname (.so.4) and realname (.so.4.0) installed.  findLib searches for 
mywxlibname.* and returns true if anything is found.  Disaster ensues.


--- a/wxPython/config.py
+++ b/wxPython/config.py
@@ -612,7 +612,7 @@ def findLib(name, libdirs):
         dirs = libdirs[:]
     for d in dirs:
         p = os.path.join(d, name)
-        if glob.glob(p+'*') != []:
+        if glob.glob(p+'*.so') != []:
             return True
     return False