package/htop: needs dynamic library

htop unconditionally uses dlopen since version 3.0.3 and
2a9e8ca074

Fixes:
 - http://autobuild.buildroot.org/results/2976729b0b95bf822c3095efbcf3f86d6c71874f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-01-07 07:48:55 +01:00 committed by Thomas Petazzoni
parent efe51a7be0
commit 30cfd54ae8
2 changed files with 5 additions and 7 deletions

View File

@ -1,9 +1,14 @@
config BR2_PACKAGE_HTOP
bool "htop"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS # dlopen()
select BR2_PACKAGE_NCURSES
help
htop is an interactive text-mode process viewer for Linux.
It aims to be a better top.
https://htop.dev/
comment "htop needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS

View File

@ -18,11 +18,4 @@ else
HTOP_CONF_OPTS += --disable-unicode
endif
# ARC uses an old uClibc that needs dladdr() for backtrace support,
# which doesn't work for static only scenario, so as a workaround, we
# pretend that execinfo.h is not available.
ifeq ($(BR2_arc)$(BR2_STATIC_LIBS),yy)
HTOP_CONF_ENV += ac_cv_header_execinfo_h=no
endif
$(eval $(autotools-package))