Skip to contentSkip to conversation

crash: add zlib-native to depends for crash-cross

PATCH New Yi Zhao 1 participant 1 message Dec 1, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 crash: add zlib-native to depends for crash-cross

Fix the following error when using buildtools-extended:

va_server.c:20:10: fatal error: zlib.h: No such file or directory
20 | #include <zlib.h>

      |          ^~~~~~~~
---
 meta-oe/recipes-kernel/crash/crash_8.0.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-kernel/crash/crash_8.0.6.bb +2 -0
index 1af90978e0..893d4de410 100644
@@ -12,6 +12,8 @@ EXTRA_OEMAKE:class-cross = 'RPMPKG="${PV}" \
 EXTRA_OEMAKE:append:class-native = " LDFLAGS='${BUILD_LDFLAGS}'"
 EXTRA_OEMAKE:append:class-cross = " LDFLAGS='${BUILD_LDFLAGS}'"
 
+DEPENDS:append:class-cross = " zlib-native"
+
 do_install:class-target () {
     oe_runmake DESTDIR=${D} install
 }
Signature · 1 line
2.34.1