We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b487fcc commit 50092d6Copy full SHA for 50092d6
lua/sqlite/defs.lua
@@ -48,7 +48,8 @@ local clib = (function()
48
end
49
50
if os.sysname == "Darwin" then
51
- return os.machine == "arm64" and "/opt/homebrew/opt/sqlite/lib/libsqlite3.dylib"
+ local homebrew_prefix = luv.os_getenv "HOMEBREW_PREFIX" or "/opt/homebrew"
52
+ return os.machine == "arm64" and homebrew_prefix .. "/opt/sqlite/lib/libsqlite3.dylib"
53
or "/usr/local/opt/sqlite3/lib/libsqlite3.dylib"
54
55
end)()
0 commit comments