summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2022-02-15 11:14:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-16 09:46:29 +0000
commit89004bc2480808576582001460e37d98143bf9a3 (patch)
treef723990b829b522dc8408b898b98188f72de0580
parentaeb7461bb3ae0e2a0dfa217689352fde211a60ca (diff)
downloadpoky-89004bc2480808576582001460e37d98143bf9a3.tar.gz
ruby: fix DEPENDS append
recent change create a blank scope of DEPENDS for class-target, basically leaving out all general dependencies, leading to the effect that ruby will be shipped without the runtime dependencies of zlib, openssl and libffi, making the corresponding gems unusable at runtime. As the class-target scope should be appended only the correct override is append:class-target (From OE-Core rev: 8f92444d388d2406be7d317578908975784d3f22) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/ruby/ruby.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc
index 7cb2181c33..35d3bfd344 100644
--- a/meta/recipes-devtools/ruby/ruby.inc
+++ b/meta/recipes-devtools/ruby/ruby.inc
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \
14 " 14 "
15 15
16DEPENDS = "zlib openssl libyaml gdbm readline libffi" 16DEPENDS = "zlib openssl libyaml gdbm readline libffi"
17DEPENDS:class-target:append = " ruby-native" 17DEPENDS:append:class-target = " 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 \