summaryrefslogtreecommitdiff
path: root/community/python-shapely/load_dll_c.patch
blob: 8efc8ec53ddd01fff176aa27617e6bfb5d9af7a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -rauN Shapely-1.7.0/shapely/geos.py Shapely-1.7.0-load_dll-patch/shapely/geos.py
--- Shapely-1.7.0/shapely/geos.py	2019-12-31 18:31:44.000000000 +0100
+++ Shapely-1.7.0-load_dll-patch/shapely/geos.py	2020-04-23 08:46:30.677274478 +0200
@@ -87,7 +87,8 @@
         _lgeos = load_dll('geos_c', fallbacks=alt_paths)
     # Necessary for environments with only libc.musl
     c_alt_paths = [
-        'libc.musl-x86_64.so.1'
+        'libc.musl-x86_64.so.1',
+        'libc.so.6'
     ]
     free = load_dll('c', fallbacks=c_alt_paths).free
     free.argtypes = [c_void_p]