htop-legacy: fix build with ndk-r23

This commit is contained in:
Henrik Grimler 2021-11-10 20:22:38 +01:00
parent e69c2e315b
commit 584b109409
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
# DO NOT UPDATE
TERMUX_PKG_VERSION=1:2.2.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/htop-dev/htop/archive/${TERMUX_PKG_VERSION:2}.tar.gz
TERMUX_PKG_SHA256=fb23275090ee5fb19266384c39c69519c8b3844b8f6444730094949c621197c0
# htop checks setlocale() return value for UTF-8 support, so use libandroid-support.
@ -21,4 +22,5 @@ LIBS=-landroid-support
termux_step_pre_configure() {
./autogen.sh
export CFLAGS+=" -fcommon"
}