diff options
Diffstat (limited to 'system/python3/musl-find_library.patch')
-rw-r--r-- | system/python3/musl-find_library.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/python3/musl-find_library.patch b/system/python3/musl-find_library.patch index 7899abb73..6181ede0a 100644 --- a/system/python3/musl-find_library.patch +++ b/system/python3/musl-find_library.patch @@ -1,13 +1,13 @@ diff -ru Python-2.7.12.orig/Lib/ctypes/util.py Python-2.7.12/Lib/ctypes/util.py --- Python-2.7.12.orig/Lib/ctypes/util.py 2016-06-26 00:49:30.000000000 +0300 +++ Python-2.7.12/Lib/ctypes/util.py 2016-11-03 16:05:46.954665040 +0200 -@@ -204,6 +204,41 @@ +@@ -265,6 +265,41 @@ def find_library(name, is64 = False): return _get_soname(_findLib_crle(name, is64) or _findLib_gcc(name)) + elif True: + -+ # Patched for Alpine Linux / musl - search manually system paths ++ # Patched for musl to search manually system paths + def _is_elf(filepath): + try: + with open(filepath, 'rb') as fh: |