From c7e56163a70969a7dcdb3adf57c363ac462867a9 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 28 Feb 2020 09:44:35 +0100 Subject: [PATCH] package/ruby: fix build on mips Fixes: - http://autobuild.buildroot.org/results/d0ab5334f195a400a6d6dd6c49e3c1a2001b2b70 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/ruby/ruby.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk index 1899d14797..0ac1164332 100644 --- a/package/ruby/ruby.mk +++ b/package/ruby/ruby.mk @@ -48,6 +48,12 @@ endif ifeq ($(BR2_PACKAGE_BERKELEYDB),y) RUBY_DEPENDENCIES += berkeleydb endif +ifeq ($(BR2_PACKAGE_LIBFFI),y) +RUBY_DEPENDENCIES += libffi +else +# Disable fiddle to avoid a build failure with bundled-libffi on MIPS +RUBY_CONF_OPTS += --with-out-ext=fiddle +endif ifeq ($(BR2_PACKAGE_GDBM),y) RUBY_DEPENDENCIES += gdbm endif -- 2.30.2