Subject: [PATCH 3/6] gnu: python-apsw: Enable extension loading.

From: Brendan Tildesley <[email-masked]>
Date: Mon, 7 Feb 2022 13:05:39 +1100

* gnu/packages/databases.scm (python-apsw): Enable extension loading. It
is required by calibre.
---
 gnu/packages/databases.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index f6c1046a51..c71f208f2b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3554,7 +3554,8 @@ (define-public python-apsw
        (modify-phases %standard-phases
          (replace 'build
            (lambda _
-             (invoke "python" "setup.py" "build" "--enable-all-extensions")
+             (invoke "python" "setup.py" "build" "--enable-all-extensions"
+                     "--enable=load_extension")
              #t))
          (add-after 'build 'build-test-helper
            (lambda _
-- 
2.34.0