Commit ed909bcb authored by Petri Lehtinen's avatar Petri Lehtinen

Issue #5033: Fix building of the sqlite3 extension module

parent 507eb09a
......@@ -820,6 +820,7 @@ Dan Parisien
William Park
Harri Pasanen
Berker Peksag
Andreas Pelme
Bo Peng
Joe Peterson
Randy Pausch
......
......@@ -1009,6 +1009,9 @@ Tests
Build
-----
- Issue #5033: Fix building of the sqlite3 extension module when the
SQLite library version has "beta" in it. Patch by Andreas Pelme.
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
- Issue #17029: Let h2py search the multiarch system include directory.
......
......@@ -1012,7 +1012,7 @@ class PyBuildExt(build_ext):
with open(f) as file:
incf = file.read()
m = re.search(
r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"(.*)"', incf)
r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"([\d\.]*)"', incf)
if m:
sqlite_version = m.group(1)
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