summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/htop/htop.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/htop/htop.mk b/package/htop/htop.mk
index adc5090146..9451d159fa 100644
--- a/package/htop/htop.mk
+++ b/package/htop/htop.mk
@@ -18,4 +18,11 @@ 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))
OpenPOWER on IntegriCloud