From: Alexander Kanavin Date: Sat, 12 Feb 2022 06:32:50 +0000 (+0100) Subject: ruby: correctly set native/target dependencies X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=293c9f879252a814107579542e8fca9af9dde599;p=openembedded-core.git ruby: correctly set native/target dependencies In particular libffi was missing from native, which led to linking with host libffi instead. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index 20ae15bd7a..7cb2181c33 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc @@ -13,8 +13,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \ file://LEGAL;md5=f260190bc1e92e363f0ee3c0463d4c7c \ " -DEPENDS = "ruby-native zlib openssl libyaml gdbm readline libffi" -DEPENDS:class-native = "openssl-native libyaml-native readline-native zlib-native" +DEPENDS = "zlib openssl libyaml gdbm readline libffi" +DEPENDS:class-target:append = " ruby-native" SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \