]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43440 : Enable SQLite R*Tree support for windows builds (GH-24797)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Tue, 9 Mar 2021 20:59:44 +0000 (21:59 +0100)
committerGitHub <noreply@github.com>
Tue, 9 Mar 2021 20:59:44 +0000 (20:59 +0000)
Misc/NEWS.d/next/Windows/2021-03-09-11-15-41.bpo-43440.igy2Mn.rst [new file with mode: 0644]
PCbuild/sqlite3.vcxproj

diff --git a/Misc/NEWS.d/next/Windows/2021-03-09-11-15-41.bpo-43440.igy2Mn.rst b/Misc/NEWS.d/next/Windows/2021-03-09-11-15-41.bpo-43440.igy2Mn.rst
new file mode 100644 (file)
index 0000000..2116ef3
--- /dev/null
@@ -0,0 +1,2 @@
+Build :mod:`sqlite3` with the ``R*Tree`` module enabled. Patch by Erlend E.
+Aasland.
index 7351a6dda2c76354165ba3186eda8cd98d314d21..39f10c5abd69ded04c0f350634c2d79e58f429d9 100644 (file)
@@ -98,7 +98,7 @@
   <ItemDefinitionGroup>
     <ClCompile>
       <AdditionalIncludeDirectories>$(sqlite3Dir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <PreprocessorDefinitions>SQLITE_ENABLE_JSON1;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>SQLITE_ENABLE_JSON1;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_ENABLE_RTREE;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <WarningLevel>Level1</WarningLevel>
     </ClCompile>
     <ResourceCompile>