[oe-commits] Richard Purdie : tcl-native: Depend on zlib-native

git at git.openembedded.org git at git.openembedded.org
Tue Feb 4 10:55:49 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: b01db0424b9cf73e51808f57043710a1c665b2c5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b01db0424b9cf73e51808f57043710a1c665b2c5

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Feb  4 10:40:35 2014 +0000

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 <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/tcltk/tcl_8.6.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
index 662261b..79a3f08 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}"
 



More information about the Openembedded-commits mailing list