mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
Recent bump to 2.1.0 changed the soversion from 7 to 8. It broke python3-rtree as follows: OSError: Could not load libspatialindex_c library Instead of bumping the version in postFixup, disable rpath in cmake instructions. Co-Authored-By: Reno Dakota <paparodeo@proton.me>
12 lines
260 B
Diff
12 lines
260 B
Diff
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -248,7 +248,7 @@ if(HAVE_BCOPY)
|
|
endif()
|
|
|
|
|
|
-if(APPLE)
|
|
+if(FALSE)
|
|
set(MACOSX_RPATH ON)
|
|
set_target_properties(spatialindex spatialindex_c
|
|
PROPERTIES INSTALL_NAME_DIR "@rpath")
|