ruby: correctly set native/target dependencies
PATCH 1/1 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 <[email protected]>
--- meta/recipes-devtools/ruby/ruby.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/ruby/ruby.inc +2 -2
@@ -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 \
Signature · 1 line
2.20.1