1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-07 03:04:04 +00:00

ruby: correctly set native/target dependencies

In particular libffi was missing from native, which
led to linking with host libffi instead.

(From OE-Core rev: 293c9f879252a814107579542e8fca9af9dde599)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2022-02-12 07:32:50 +01:00
committed by Richard Purdie
parent 8c18d70e3d
commit 305c1d179e
+2 -2
View File
@@ -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 \