[OpenWrt-Devel] [PATCH] readline: Need host depend on ncurses to build.

Jan Kardell jan.kardell at telliq.com
Fri Mar 20 09:32:23 EDT 2020


We must ensure that host ncurses is build before host readline.

Signed-off-by: Jan Kardell <jan.kardell at telliq.com>
---
 package/libs/readline/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libs/readline/Makefile b/package/libs/readline/Makefile
index ddf05986a5..e0204104c5 100644
--- a/package/libs/readline/Makefile
+++ b/package/libs/readline/Makefile
@@ -25,6 +25,8 @@ PKG_INSTALL:=1
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/host-build.mk
 
+HOST_BUILD_DEPENDS:=ncurses/host
+
 define Package/libreadline
   SECTION:=libs
   CATEGORY:=Libraries
-- 
2.16.4


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list