]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
tcl-native: Depend on zlib-native
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Feb 2014 10:40:35 +0000 (10:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Feb 2014 10:59:46 +0000 (10:59 +0000)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/tcltk/tcl_8.6.1.bb

index 662261b1cbf8a36da19d26589dde3cddaf1695ba..79a3f083b6ea1ca57000e407e15a33ad400058cd 100644 (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}"