chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
093bb79
)
stfl: Patch to fix build
author
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 15 Jan 2017 18:38:58 +0000
(19:38 +0100)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 15 Jan 2017 18:38:58 +0000
(19:38 +0100)
packages/stfl/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/stfl/build.sh
b/packages/stfl/build.sh
index 57ae3fc9882667d21315cf7cda99f9bcff797779..969f6d31703308c66d286fda7ff71421aec42d2d 100644
(file)
--- a/
packages/stfl/build.sh
+++ b/
packages/stfl/build.sh
@@
-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
}