diff mbox series

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

Message ID 20200320133223.578-1-jan.kardell@telliq.com
State Accepted
Delegated to: Daniel Golle
Headers show
Series [OpenWrt-Devel] readline: Need host depend on ncurses to build. | expand

Commit Message

Jan Kardell March 20, 2020, 1:32 p.m. UTC
We must ensure that host ncurses is build before host readline.

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

Patch

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