htop: use cfg-libs option and use --disable-static to build a shared binary executable

This commit is contained in:
Rudi Heitbaum 2024-09-17 08:59:03 +00:00
parent 23e0ea6fc0
commit 553138a277

View File

@ -10,9 +10,10 @@ PKG_URL="https://github.com/htop-dev/htop/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses" PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="An interactive process viewer for Unix." PKG_LONGDESC="An interactive process viewer for Unix."
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot" PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--disable-unicode \ PKG_CONFIGURE_OPTS_TARGET="--disable-unicode \
--disable-static \
HTOP_NCURSES_CONFIG_SCRIPT=ncurses-config" HTOP_NCURSES_CONFIG_SCRIPT=ncurses-config"
pre_configure_target() { pre_configure_target() {