diff --git a/packages/libsqlite/build.sh b/packages/libsqlite/build.sh index 37fefd1a3..57c0b141c 100755 --- a/packages/libsqlite/build.sh +++ b/packages/libsqlite/build.sh @@ -5,6 +5,16 @@ _SQLITE_MAJOR=3 _SQLITE_MINOR=19 _SQLITE_PATCH=3 TERMUX_PKG_VERSION=${_SQLITE_MAJOR}.${_SQLITE_MINOR}.${_SQLITE_PATCH} +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://www.sqlite.org/2017/sqlite-autoconf-${_SQLITE_MAJOR}${_SQLITE_MINOR}0${_SQLITE_PATCH}00.tar.gz TERMUX_PKG_SHA256=06129c03dced9f87733a8cba408871bd60673b8f93b920ba8d815efab0a06301 -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-readline" +# ac_cv_func_strerror_r=no as strerror_r() with the +# GNU signature is only # available in android-23: +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +ac_cv_func_strerror_r=no +--enable-readline +" + +termux_step_pre_configure() { + CPPFLAGS+=" -Werror" +}