summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby/ruby.inc
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-04-11 15:02:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-12 09:29:06 +0100
commit99ec53a051b4118631f91250775e1ca16ccb315b (patch)
tree9859c810aaacb652fc385edeca47f4ef233a5b5b /meta/recipes-devtools/ruby/ruby.inc
parentbb8a55fb0f9f4fbf6403692b0ee1b74af0608dd8 (diff)
downloadpoky-99ec53a051b4118631f91250775e1ca16ccb315b.tar.gz
ruby: make ext module fiddle can compile success
ext module fiddle depend on libffi, in ruby source tree, there is in internal libffi in case target platfrom don't install libffi, but autotools.bbclass delete configure under libffi and not run autoreconf to regenerate one.so we met this error: ruby-2.5.3/ext/fiddle/libffi-3.2.1/configure: No such file or directory the fix is add depend and extra_oeconf to use libffi in the system (From OE-Core rev: 55acc9b477919208d91781dbe9a03136f895a94b) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby.inc')
-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 eaf5d13ac2..28e21fee9c 100644
--- a/meta/recipes-devtools/ruby/ruby.inc
+++ b/meta/recipes-devtools/ruby/ruby.inc
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "\
14 file://LEGAL;md5=23a79bb4c1a40f6cc9bcb6f4e7c39799 \ 14 file://LEGAL;md5=23a79bb4c1a40f6cc9bcb6f4e7c39799 \
15" 15"
16 16
17DEPENDS = "ruby-native zlib openssl tcl libyaml gdbm readline" 17DEPENDS = "ruby-native zlib openssl tcl libyaml gdbm readline libffi"
18DEPENDS_class-native = "openssl-native libyaml-native readline-native" 18DEPENDS_class-native = "openssl-native libyaml-native readline-native"
19 19
20SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" 20SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"