Skip to contentSkip to conversation

package/ruby: fix build on mips

PATCH New Fabrice Fontaine 3 participants 3 messages Feb 28, 2020 – Mar 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ruby: fix build on mips

Fixes:
- http://autobuild.buildroot.org/results/d0ab5334f195a400a6d6dd6c49e3c1a2001b2b70

---
 package/ruby/ruby.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/ruby/ruby.mk +6 -0
index 1899d14797..0ac1164332 100644
@@ -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
Signature · 1 line
2.25.0
#1 lore raw

PATCH 1/1 package/ruby: fix build on mips

Quoted 7 lines · On Fri, 28 Feb 2020 09:44:35 +0100 Fabrice Fontaine…

Fixes:
- http://autobuild.buildroot.org/results/d0ab5334f195a400a6d6dd6c49e3c1a2001b2b70

---
 package/ruby/ruby.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com