]> code.ossystems Code Review - openembedded-core.git/commit
gnutls.inc: set libz prefix
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 17 Jan 2012 10:58:04 +0000 (11:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jan 2012 15:08:30 +0000 (15:08 +0000)
commit6d21c87ca37a11b34551d79758da65ed417c70a0
tree3051f2c61918ef7fa7b37786bdbc4e7dddc665b3
parent044f99155bf8775481b70cbe02745c6d9ae1d6a9
gnutls.inc: set libz prefix

* without this patch host's zlib is used, similar to issue with
  libreadline it's important if host's zlib is compatible with MACHINE
  and in this case zlib was in DEPENDS so header was always available in
  sysroot
  lib/config.log:
  configure:18288: checking whether to include zlib compression support
  configure:18291: result: yes
  configure:18786: checking for libz
  configure:18808: x86_64-oe-linux-gcc    -m64 --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -o conftest -O2 -pipe -g -feliminate-unused-debug-types -I/OE/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c /usr/lib/libz.so  >&5
  configure:18808: $? = 0
  configure:18818: result: yes
  configure:18825: checking how to link with libz
  configure:18827: result: /usr/lib/libz.so

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnutls/gnutls.inc