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)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 30 Mar 2020 04:40:56 +0000 (00:40 -0400)
We must ensure that host ncurses is build before host readline.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
(cherry picked from commit ecef29b29463e7549779e90739e61f8729ccaf09)

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