Add paths for homebrew on Apple silicon and use those paths when passed in

This commit is contained in:
Chris Amico 2023-03-11 17:26:05 -05:00
commit 0e4750dff0
4 changed files with 32 additions and 4 deletions

View file

@ -28,6 +28,8 @@ except ImportError:
SPATIALITE_PATHS = (
"/usr/lib/x86_64-linux-gnu/mod_spatialite.so",
"/usr/local/lib/mod_spatialite.dylib",
"/usr/local/lib/mod_spatialite.so",
"/opt/homebrew/lib/mod_spatialite.dylib",
)
# Mainly so we can restore it if needed in the tests: