1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py-tkinter/find_library.patch
Isaac Dunham bd1de6ce91 testing/py-tkinter: add new aport
This is the GUI part of python.
2014-09-09 06:12:54 +00:00

11 lines
450 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()