From a8ea552ea2dc34d4a22dded208b8bfd81e206e1f Mon Sep 17 00:00:00 2001 From: Lin Sun Date: Tue, 23 May 2023 13:25:39 +0000 Subject: [PATCH] * src/sqlite.c (sqlite-load-extension): Also load from the dylib. --- src/sqlite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sqlite.c b/src/sqlite.c index 852e3746ef..c863659222 100644 --- a/src/sqlite.c +++ b/src/sqlite.c @@ -733,6 +733,7 @@ DEFUN ("sqlite-load-extension", Fsqlite_load_extension, if (strlen (*allow) < strlen (name) && !strncmp (*allow, name, strlen (*allow)) && (!strcmp (name + strlen (*allow), ".so") + || !strcmp (name + strlen (*allow), ".dylib") || !strcasecmp (name + strlen (*allow), ".dll"))) { do_allow = true; -- 2.20.5