]> 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)
committerArmin Kuster <akuster808@gmail.com>
Sun, 14 Apr 2019 14:23:46 +0000 (07:23 -0700)
commit3a0272bab546a4b47feab117713e32873419bbe7
treea32d30b4bbed87c291ad7200034e5cc90660dfe4
parenta9cc1b3f9a684c14f02b06226693b023adc3e609
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/ruby/ruby.inc
meta/recipes-devtools/ruby/ruby_2.5.3.bb