]> code.ossystems Code Review - openembedded-core.git/commitdiff
ruby: fix DEPENDS append
authorKonrad Weihmann <kweihmann@outlook.com>
Tue, 15 Feb 2022 10:14:32 +0000 (11:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Feb 2022 09:46:24 +0000 (09:46 +0000)
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

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/ruby/ruby.inc

index 7cb2181c33b2ba85cce7f03416a89b92b3bd2129..35d3bfd34403758ff56bbaa033ebf7a139ec403a 100644 (file)
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \
                     "
 
 DEPENDS = "zlib openssl libyaml gdbm readline libffi"
-DEPENDS:class-target:append = " ruby-native"
+DEPENDS:append:class-target = " 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 \