package/readline: add host variant
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 27 Sep 2014 16:39:15 +0000 (18:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Mar 2015 14:32:34 +0000 (15:32 +0100)
Needed by SoftEther VPN.

host-readline will also be needed by host-pcre, which in turn will
be needed by the yet-to-be-released leafnode2 package.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/readline/readline.mk

index d670a71f34ed4340231da8cfb959341b7d9ac5bd..c004899c23242d7fb645bf5973415ad8ef85afb5 100644 (file)
@@ -8,6 +8,7 @@ READLINE_VERSION = 6.3
 READLINE_SITE = $(BR2_GNU_MIRROR)/readline
 READLINE_INSTALL_STAGING = YES
 READLINE_DEPENDENCIES = ncurses
+HOST_READLINE_DEPENDENCIES = host-ncurses
 READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes \
        bash_cv_wcwidth_broken=no
 READLINE_LICENSE = GPLv3+
@@ -20,3 +21,4 @@ endef
 READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_PURGE_EXAMPLES
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))