diff --git a/package/htop/Config.in b/package/htop/Config.in index 7bb0fe6e07..214a9a1c99 100644 --- a/package/htop/Config.in +++ b/package/htop/Config.in @@ -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 diff --git a/package/htop/htop.mk b/package/htop/htop.mk index bb6185a56d..25d1a9a129 100644 --- a/package/htop/htop.mk +++ b/package/htop/htop.mk @@ -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))