]> code.ossystems Code Review - openembedded-core.git/commitdiff
ruby.inc: Add dependency on readline-native
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Thu, 31 Jan 2019 22:21:26 +0000 (14:21 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2019 15:24:35 +0000 (15:24 +0000)
Add dependency on readline-native to fix the following issue

uninitialized constant Logfile
|       Check ext/fiddle/mkmf.log for more details.
| readline:
|       Could not be configured. It will not be installed.
|
build/tmp/work/x86_64-linux/ruby-native/2.5.1-r0/ruby-2.5.1/ext/readline/extconf.rb:62:
Neither readline nor libedit was found
|       Check ext/readline/mkmf.log for more details.
| *** Fix the problems, then remove these directories and try again if
you want.

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/ruby/ruby.inc

index 5a5bef2024cb9d5a5f76316b017f4b401c8d30ca..eaf5d13ac2c789e817d60f4fb98439c54d81926f 100644 (file)
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "\
 "
 
 DEPENDS = "ruby-native zlib openssl tcl libyaml gdbm readline"
-DEPENDS_class-native = "openssl-native libyaml-native"
+DEPENDS_class-native = "openssl-native libyaml-native readline-native"
 
 SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \