Skip to content

Commit

Permalink
Add paths for homebrew on Apple silicon (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Apr 13, 2023
1 parent c0251cc commit 8f9a729
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sqlite_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@

OperationalError = sqlite3.OperationalError


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:
Expand Down

0 comments on commit 8f9a729

Please sign in to comment.