diff options
author | Konrad Weihmann <kweihmann@outlook.com> | 2022-02-15 11:14:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-23 23:43:43 +0000 |
commit | f58e88f4d85bd0d354cf3d33c38147284bb7ae04 (patch) | |
tree | d081a1059a325553b562200668849973c5aead14 /meta/recipes-devtools | |
parent | 6060b500b952754c595fdf5de5de35c886e0e1d5 (diff) | |
download | poky-f58e88f4d85bd0d354cf3d33c38147284bb7ae04.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: 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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index bfabe64e7d..a9f4240932 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc | |||
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "\ | |||
15 | " | 15 | " |
16 | 16 | ||
17 | DEPENDS = "zlib openssl libyaml gdbm readline libffi" | 17 | DEPENDS = "zlib openssl libyaml gdbm readline libffi" |
18 | DEPENDS_class-target_append = " ruby-native" | 18 | DEPENDS_append_class-target = " ruby-native" |
19 | 19 | ||
20 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 20 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
21 | SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ | 21 | SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ |