From: Richard Purdie Date: Tue, 4 Feb 2014 10:40:35 +0000 (+0000) Subject: tcl-native: Depend on zlib-native X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34643 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b01db0424b9cf73e51808f57043710a1c665b2c5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git tcl-native: Depend on zlib-native tcl can use its internal zlib. If it detects zlib during configure, then it gets removed from the sysroot during the build (since its no in DEPENDS), it causes build failures. Worse, if the configure test fails to find zlib, it still appents -lz to the other autoconf tests meaning several fail when they shouldn't. This results in conflicts with system macros and other bizarre issues. The easiest fix is to depend on zlib-native and make things determinstic. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb index 662261b1cbf..79a3f083b6e 100644 --- a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb +++ b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb @@ -33,7 +33,7 @@ VER = "8.6.1" inherit autotools ptest -DEPENDS_class-native = "" +DEPENDS_class-native = "zlib-native" EXTRA_OECONF = "--enable-threads --disable-rpath --libdir=${libdir}"