]> code.ossystems Code Review - openembedded-core.git/commit
ruby: make ext module fiddle can compile success
authorChangqing Li <changqing.li@windriver.com>
Thu, 11 Apr 2019 07:02:32 +0000 (15:02 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Apr 2019 20:19:27 +0000 (21:19 +0100)
commit55acc9b477919208d91781dbe9a03136f895a94b
tree0b67ea80379a67246c827d3bafad104f31a9d8f6
parent5bad5eb5f41053e4963fb26972f56dbf67349378
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

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/ruby/ruby.inc
meta/recipes-devtools/ruby/ruby_2.5.3.bb