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.

(From OE-Core rev: b01db0424b9cf73e51808f57043710a1c665b2c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2014-02-04 10:40:35 +00:00
parent 76f52a81f6
commit 6b7b9ea316

View File

@@ -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}"