[oe] ruby-native problem (on dylan)

Nicolas Dechesne nicolas.dechesne at linaro.org
Fri Oct 4 11:57:06 UTC 2013


On Fri, Oct 4, 2013 at 12:09 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> Try to add this in qtwebkit.inc:
>
> # make sure rb files are used from sysroot, not from host
> # ruby-1.9.3-always-use-i386.patch is doing target_cpu=`echo $target_cpu | sed s/i.86/i386/`
> # we need to replace it too (a bit longer version without importing re)
> RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }"
> export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}"
>
> if you can confirm it works for you I'll push it to meta-qt5.

yes, it is working fine with this change.

however, don't you think that this is just a workaround? the real
issue being that ruby has hard coded paths?

thanks



More information about the Openembedded-devel mailing list