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)

Story: 2008204
Task: 40988

Change-Id: I2d8de8aab2ce3ca24d512354c75ebe34845e4ed0
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
Jackie Huang 2020-09-25 17:33:44 +08:00
parent 1a442aaaa6
commit ff8142bed3

View File

@ -16,7 +16,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 = " \