Kaydet (Commit) d784e53d authored tarafından Petri Lehtinen's avatar Petri Lehtinen

Issue #5033: Fix building of the sqlite3 extension module

...@@ -917,6 +917,7 @@ Samuele Pedroni ...@@ -917,6 +917,7 @@ Samuele Pedroni
Justin Peel Justin Peel
Marcel van der Peijl Marcel van der Peijl
Berker Peksag Berker Peksag
Andreas Pelme
Steven Pemberton Steven Pemberton
Bo Peng Bo Peng
Santiago Peresón Santiago Peresón
......
...@@ -945,6 +945,9 @@ Tests ...@@ -945,6 +945,9 @@ Tests
Build Build
----- -----
- Issue #5033: Fix building of the sqlite3 extension module when the
SQLite library version has "beta" in it. Patch by Andreas Pelme.
- Issue #17228: Fix building without pymalloc. - Issue #17228: Fix building without pymalloc.
- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac. - Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
......
...@@ -1073,7 +1073,7 @@ class PyBuildExt(build_ext): ...@@ -1073,7 +1073,7 @@ class PyBuildExt(build_ext):
with open(f) as file: with open(f) as file:
incf = file.read() incf = file.read()
m = re.search( m = re.search(
r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"(.*)"', incf) r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"([\d\.]*)"', incf)
if m: if m:
sqlite_version = m.group(1) sqlite_version = m.group(1)
sqlite_version_tuple = tuple([int(x) sqlite_version_tuple = tuple([int(x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment