]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43851: Build SQLite with SQLITE_OMIT_AUTOINIT on macOS (GH-25413)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Mon, 3 May 2021 00:37:35 +0000 (02:37 +0200)
committerGitHub <noreply@github.com>
Mon, 3 May 2021 00:37:35 +0000 (20:37 -0400)
Mac/BuildScript/build-installer.py
Misc/NEWS.d/next/macOS/2021-04-15-01-20-45.bpo-43851.sDI60Y.rst [new file with mode: 0644]

index b07def17476acd80be53f5ac1400418785194fc8..15a45b95a23c4b4b38e03ed3d28b0fc5d6f95b7f 100755 (executable)
@@ -363,6 +363,7 @@ def library_recipes():
                             '-DSQLITE_ENABLE_FTS3_PARENTHESIS '
                             '-DSQLITE_ENABLE_JSON1 '
                             '-DSQLITE_ENABLE_RTREE '
+                            '-DSQLITE_OMIT_AUTOINIT '
                             '-DSQLITE_TCL=0 '
                  '%s' % ('','-DSQLITE_WITHOUT_ZONEMALLOC ')[LT_10_5]),
               configure_pre=[
diff --git a/Misc/NEWS.d/next/macOS/2021-04-15-01-20-45.bpo-43851.sDI60Y.rst b/Misc/NEWS.d/next/macOS/2021-04-15-01-20-45.bpo-43851.sDI60Y.rst
new file mode 100644 (file)
index 0000000..0febfb0
--- /dev/null
@@ -0,0 +1 @@
+Build SQLite with ``SQLITE_OMIT_AUTOINIT`` on macOS. Patch by Erlend E. Aasland.