diff --git a/cpython-unix/build-sqlite.sh b/cpython-unix/build-sqlite.sh index d39c6bda..fc4013f4 100755 --- a/cpython-unix/build-sqlite.sh +++ b/cpython-unix/build-sqlite.sh @@ -31,6 +31,7 @@ CFLAGS="${EXTRA_TARGET_CFLAGS} \ -DSQLITE_ENABLE_FTS5 \ -DSQLITE_ENABLE_GEOPOLY \ -DSQLITE_ENABLE_RTREE \ + -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT \ -fPIC" \ CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" \ LDFLAGS="${EXTRA_TARGET_LDFLAGS}" ./configure ${CONFIGURE_FLAGS} diff --git a/cpython-windows/build.py b/cpython-windows/build.py index d0c39701..60847a60 100644 --- a/cpython-windows/build.py +++ b/cpython-windows/build.py @@ -577,6 +577,7 @@ def hack_project_files( b"SQLITE_ENABLE_FTS5", b"SQLITE_ENABLE_GEOPOLY", b"SQLITE_ENABLE_RTREE", + b"SQLITE_ENABLE_UPDATE_DELETE_LIMIT", } with sqlite3_path.open("rb") as fh: data = fh.read()