From 8a30c5bb300ddc2634ba7f559d3005403a46447b Mon Sep 17 00:00:00 2001 From: Stephen Date: Tue, 15 Aug 2017 09:25:42 -0700 Subject: [PATCH] add tclsqlite3.c to libsqlite dev package fixes issues that arose from building tcl with #1169 and avoids a circular dependency --- packages/libsqlite/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/libsqlite/build.sh b/packages/libsqlite/build.sh index 20e356397..944f84ceb 100755 --- a/packages/libsqlite/build.sh +++ b/packages/libsqlite/build.sh @@ -13,7 +13,13 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" ac_cv_func_strerror_r=no --enable-readline " +TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="src/libsqlite/tclsqlite3.c" termux_step_pre_configure() { CPPFLAGS+=" -Werror" } + +termux_step_post_make_install () { + mkdir -p $TERMUX_PREFIX/src/libsqlite + cp $TERMUX_PKG_SRCDIR/tea/generic/tclsqlite3.c $TERMUX_PREFIX/src/libsqlite/tclsqlite3.c +}