diff options
Diffstat (limited to 'lang/python/python3/patches/024-musl-find_library.patch')
| -rw-r--r-- | lang/python/python3/patches/024-musl-find_library.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/python3/patches/024-musl-find_library.patch b/lang/python/python3/patches/024-musl-find_library.patch index 9ad33c05d..f986a7a94 100644 --- a/lang/python/python3/patches/024-musl-find_library.patch +++ b/lang/python/python3/patches/024-musl-find_library.patch @@ -12,9 +12,9 @@ https://git.alpinelinux.org/aports/tree/main/python2/musl-find_library.patch + from glob import glob + musl_ldso = glob('/lib/ld-musl-*.so.1') - def _findLib_gcc(name): - # Run GCC's linker with the -t (aka --trace) option and examine the -@@ -252,6 +254,57 @@ elif os.name == "posix": + def _is_elf(filename): + "Return True if the given file is an ELF file" +@@ -265,6 +267,57 @@ elif os.name == "posix": def find_library(name, is64 = False): return _get_soname(_findLib_crle(name, is64) or _findLib_gcc(name)) |
