You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
525 B
17 lines
525 B
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
|
|
|