Commit
150124b (ruby: fix host build breakage) tried to fix host-ruby
build failures by disabling ncurses/readline extensions, but the
ruby configure script doesn't understand --without-ncurses /
--without-readline arguments, so the commit didn't do anything.
Fix it by really disabling them using the --with-out-ext argument.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
RUBY_DEPENDENCIES = host-ruby
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
RUBY_CONF_OPT = --disable-install-doc --disable-rpath
-HOST_RUBY_CONF_OPT = --disable-install-doc --without-ncurses --without-readline
+HOST_RUBY_CONF_OPT = --disable-install-doc --with-out-ext=curses,readline
# Force optionals to build before we do
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)