enable column metadata feature for sqlite (#6773)
this feature is required for Qt sqlite plugin to work
This commit is contained in:
parent
69fd107be9
commit
5747fd1c87
@ -7,6 +7,7 @@ _SQLITE_MAJOR=3
|
||||
_SQLITE_MINOR=35
|
||||
_SQLITE_PATCH=5
|
||||
TERMUX_PKG_VERSION=${_SQLITE_MAJOR}.${_SQLITE_MINOR}.${_SQLITE_PATCH}
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://www.sqlite.org/2021/sqlite-autoconf-${_SQLITE_MAJOR}${_SQLITE_MINOR}0${_SQLITE_PATCH}00.tar.gz
|
||||
TERMUX_PKG_SHA256=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0
|
||||
TERMUX_PKG_DEPENDS="zlib"
|
||||
@ -14,9 +15,10 @@ TERMUX_PKG_BREAKS="libsqlite-dev"
|
||||
TERMUX_PKG_REPLACES="libsqlite-dev"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--enable-readline
|
||||
--enable-fts3
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
CPPFLAGS+=" -Werror -DSQLITE_ENABLE_DBSTAT_VTAB=1"
|
||||
CPPFLAGS+=" -Werror -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_COLUMN_METADATA=1"
|
||||
LDFLAGS+=" -lm"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user