15 lines
451 B
Diff
15 lines
451 B
Diff
--- a/rtree/finder.py
|
|
+++ b/rtree/finder.py
|
|
@@ -33,7 +33,10 @@
|
|
arch = "64"
|
|
else:
|
|
arch = "32"
|
|
- lib_name = f"spatialindex_c-{arch}.dll"
|
|
+ if "MSC" in sys.version:
|
|
+ lib_name = f"spatialindex_c-{arch}.dll"
|
|
+ else:
|
|
+ lib_name = "libspatialindex.dll"
|
|
|
|
# add search paths for conda installs
|
|
if (_sys_prefix / "conda-meta").exists() or "conda" in sys.version:
|