From a34e0d1d813938bc8751aa1120bdf793587effa1 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Tue, 9 Jun 2020 16:47:22 +0800 Subject: [PATCH] ruby-native: add dependency on zlib-native Some packages use the ruby "gem build" command to create gems, which requires zlib, so add dependency on zlib-native or it relies the host's zlib and fails on some host like CentOS: | ERROR: Loading command: build (LoadError) | cannot load such file -- zlib | ERROR: While executing gem ... (NoMethodError) Issue-ID: INF-155 Issue-ID: INF-157 Issue-ID: INF-158 Signed-off-by: Jackie Huang Change-Id: Ib680adda00df8bad2191d367d5ff27ff393fbf96 --- meta-stx/recipes-devtools/ruby/ruby.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-stx/recipes-devtools/ruby/ruby.inc b/meta-stx/recipes-devtools/ruby/ruby.inc index fa5692e..3acb436 100644 --- a/meta-stx/recipes-devtools/ruby/ruby.inc +++ b/meta-stx/recipes-devtools/ruby/ruby.inc @@ -30,7 +30,7 @@ LIC_FILES_CHKSUM = "\ " DEPENDS = "ruby-native zlib openssl tcl libyaml gdbm readline libffi libnsl2" -DEPENDS_class-native = "openssl-native libyaml-native readline-native libnsl2" +DEPENDS_class-native = "zlib-native openssl-native libyaml-native readline-native libnsl2" SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" SRC_URI = " \ -- 2.16.6