readline: needs host depend on ncurses to build
authorJan Kardell <jan.kardell@telliq.com>
Fri, 20 Mar 2020 13:32:23 +0000 (14:32 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 20 Mar 2020 17:08:58 +0000 (17:08 +0000)
We must ensure that host ncurses is build before host readline.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
package/libs/readline/Makefile

index ddf05986a56458ec6c570a5449a563d3614f6c71..e0204104c568d128e08f3df9d5f7df79824b3337 100644 (file)
@@ -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