summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-02-12 07:32:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-12 17:05:35 +0000
commit305c1d179e1f2b660a578f939a15d7cd48148ab0 (patch)
tree76a9210957dca39b05d37de96cbe514f41101694 /meta/recipes-devtools/ruby
parent8c18d70e3d3ea80e0204ca3d5ff79183493235c5 (diff)
downloadpoky-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/ruby')
-rw-r--r--meta/recipes-devtools/ruby/ruby.inc4
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
16DEPENDS = "ruby-native zlib openssl libyaml gdbm readline libffi" 16DEPENDS = "zlib openssl libyaml gdbm readline libffi"
17DEPENDS:class-native = "openssl-native libyaml-native readline-native zlib-native" 17DEPENDS:class-target:append = " ruby-native"
18 18
19SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" 19SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
20SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ 20SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \