ruby: really disable ncurses/readline for host

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>
This commit is contained in:
Peter Korsgaard 2011-11-27 22:16:40 +01:00
parent 4dc18dc514
commit e4c61e5ea4

View File

@ -11,7 +11,7 @@ HOST_RUBY_AUTORECONF = YES
RUBY_DEPENDENCIES = host-ruby RUBY_DEPENDENCIES = host-ruby
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV) RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
RUBY_CONF_OPT = --disable-install-doc --disable-rpath 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 # Force optionals to build before we do
ifeq ($(BR2_PACKAGE_BERKELEYDB),y) ifeq ($(BR2_PACKAGE_BERKELEYDB),y)