summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
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-05-22 00:31:48 +0100
commit6e17a309e225605e028b6b2d3a55827bbe8339e2 (patch)
tree0937a160466185a75fb25d8b4ff1980873fa0645 /meta/recipes-devtools
parent0e159278a1714dc32dfab7d03336baa4cbff220e (diff)
downloadpoky-6e17a309e225605e028b6b2d3a55827bbe8339e2.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: 3a0272bab546a4b47feab117713e32873419bbe7) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/ruby/ruby.inc2
-rw-r--r--meta/recipes-devtools/ruby/ruby_2.5.3.bb1
2 files changed, 2 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)}"
diff --git a/meta/recipes-devtools/ruby/ruby_2.5.3.bb b/meta/recipes-devtools/ruby/ruby_2.5.3.bb
index 3fb427e90e..173b44b377 100644
--- a/meta/recipes-devtools/ruby/ruby_2.5.3.bb
+++ b/meta/recipes-devtools/ruby/ruby_2.5.3.bb
@@ -28,6 +28,7 @@ EXTRA_OECONF = "\
28 --disable-dtrace \ 28 --disable-dtrace \
29 --enable-shared \ 29 --enable-shared \
30 --enable-load-relative \ 30 --enable-load-relative \
31 --with-pkg-config=pkg-config \
31" 32"
32 33
33do_install() { 34do_install() {