diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-02-12 07:32:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-12 17:05:35 +0000 |
commit | 305c1d179e1f2b660a578f939a15d7cd48148ab0 (patch) | |
tree | 76a9210957dca39b05d37de96cbe514f41101694 /meta/recipes-devtools | |
parent | 8c18d70e3d3ea80e0204ca3d5ff79183493235c5 (diff) | |
download | poky-305c1d179e1f2b660a578f939a15d7cd48148ab0.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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 \ | |||
13 | file://LEGAL;md5=f260190bc1e92e363f0ee3c0463d4c7c \ | 13 | file://LEGAL;md5=f260190bc1e92e363f0ee3c0463d4c7c \ |
14 | " | 14 | " |
15 | 15 | ||
16 | DEPENDS = "ruby-native zlib openssl libyaml gdbm readline libffi" | 16 | DEPENDS = "zlib openssl libyaml gdbm readline libffi" |
17 | DEPENDS:class-native = "openssl-native libyaml-native readline-native zlib-native" | 17 | DEPENDS:class-target:append = " ruby-native" |
18 | 18 | ||
19 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 19 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
20 | SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ | 20 | SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ |