stfl: Patch to fix build

This commit is contained in:
Fredrik Fornwall 2017-01-15 19:38:58 +01:00
parent 093bb798f1
commit 4de5f6ccec
1 changed files with 2 additions and 7 deletions

View File

@ -6,13 +6,8 @@ TERMUX_PKG_FOLDERNAME=stfl-${TERMUX_PKG_VERSION}
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure () {
# stfl doesn't contain configure script
return
}
termux_step_make () {
termux_step_configure() {
export CC="$CC $CPPFLAGS"
export CFLAGS="-I. -fPIC -Wall -Os -ggdb"
export LDFLAGS="-L${TERMUX_PREFIX}/lib -lncursesw -liconv"
make
}