diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-02-12 07:32:50 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-23 23:43:42 +0000 |
| commit | 6060b500b952754c595fdf5de5de35c886e0e1d5 (patch) | |
| tree | 891fea0cdc124402cf976c8797cefb9bcfb76492 | |
| parent | 2a96d2a9326077e5ea3e0cd95b0b80df549d726a (diff) | |
| download | poky-6060b500b952754c595fdf5de5de35c886e0e1d5.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: 61e38b71566183e329d980e26fe8ffe8d331c3a1)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 293c9f879252a814107579542e8fca9af9dde599)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/ruby/ruby.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index 7b6d4edc61..bfabe64e7d 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc | |||
| @@ -14,8 +14,8 @@ LIC_FILES_CHKSUM = "\ | |||
| 14 | file://LEGAL;md5=2b6d62dc0d608f34d510ca3f428110ec \ | 14 | file://LEGAL;md5=2b6d62dc0d608f34d510ca3f428110ec \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | DEPENDS = "ruby-native zlib openssl libyaml gdbm readline libffi" | 17 | DEPENDS = "zlib openssl libyaml gdbm readline libffi" |
| 18 | DEPENDS_class-native = "openssl-native libyaml-native readline-native zlib-native" | 18 | DEPENDS_class-target_append = " 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 \ |
