mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
From author's comment: SQLite has functionality that can be compiled in or out. For example loading extensions is off by default as is extended column metadata. Virtually all Linux distros compile SQLite with them turned on. APSW needs to know this at compile time and cannot defer to runtime. You can have APSW automatically detect the system SQLite configuration. Create a file named setup.apsw alongside the extracted setup.py with these contents: [build_ext] use_system_sqlite_config = True The maintainers for Arch, Gentoo, and Debian all switched over to doing that a few releases ago making their lives easier.
8 lines
237 B
Diff
8 lines
237 B
Diff
diff --git a/setup.apsw b/setup.apsw
|
|
index 68dedb9..3ceb10b 100644
|
|
--- a/setup.apsw
|
|
+++ b/setup.apsw
|
|
@@ -1 +1,3 @@
|
|
# You can put ini format directives here in addition to command line flags
|
|
+[build_ext]
|
|
+use_system_sqlite_config = True
|