12 lines
446 B
Diff
12 lines
446 B
Diff
--- Lib/ctypes/util.py.orig
|
|
+++ Lib/ctypes/util.py
|
|
@@ -227,7 +227,7 @@
|
|
abi_type = mach_map.get(machine, 'libc6')
|
|
|
|
# XXX assuming GLIBC's ldconfig (with option -p)
|
|
- expr = r'\s+(lib%s\.[^\s]+)\s+\(%s' % (re.escape(name), abi_type)
|
|
+ expr = r'\s+(lib%s\.[^\s]+)\s+\(' % (re.escape(name))
|
|
f = os.popen('/sbin/ldconfig -p 2>/dev/null')
|
|
try:
|
|
data = f.read()
|