ruby: fix install error for multilib
PATCH 1/1 ruby: fix install error for multilib
When multilib is enabled, it fails to do install with error:
sed: can't read .../image/usr/lib/ruby/*/*/rbconfig.rb: No such file or directory
Replace '/usr/lib' with ${libdir} to fix it.
Signed-off-by Kai Kang <[email protected]>
--- meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb +1 -1
@@ -33,7 +33,7 @@ do_install() { do_install_append () { if [ "${PN}" != "ruby-native" ]; then - sed -i "s/sysroot=[0-9a-z\/\-]*/sysroot=\//g" ${D}/usr/lib/ruby/*/*/rbconfig.rb + sed -i "s/sysroot=[0-9a-z\/\-]*/sysroot=\//g" ${D}${libdir}/ruby/*/*/rbconfig.rb fi }
Signature · 1 line
1.9.1