mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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: 81fab225daf798792c139f669f5bfd96d9fd25a8) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8f92444d388d2406be7d317578908975784d3f22) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6060b500b9
commit
f58e88f4d8
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "\
|
||||
"
|
||||
|
||||
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 \
|
||||
|
||||
Reference in New Issue
Block a user