[oe] libxml2-native build against host zlib.h
Tom Rini
trini at kernel.crashing.org
Tue Apr 7 18:33:29 UTC 2009
On Tue, Apr 07, 2009 at 02:54:35PM -0300, Jader H. Silva wrote:
> Koen Kooi escreveu:
>> On 23-03-09 20:10, Jader H. Silva wrote:
>>> It seems libxml2-native is built using host zlib.h.
>>> My host have a symbol redefinition in zlib.h (gzopen ->
>>> gzopen64), but
>>> that symbol does not exists in OE compiled library.
>>> Setting --with-zlib=${STAGING_INCIR}/zlib.h in libxml2-native.inc
>>> solved it. There's a patch attached.
>>
>> The patch seems to solve the problem, could you resend a version that
>> bumps the PR as well? Once this in .dev we should apply it to
>> stable/2008 as well.
>>
>> regards,
>>
>> Koen
> Patch with compilation fix and PR update is attached.
As Khem pointed out previously, this is not correct, NACK. From the
configure script --help:
--with-zlib[=DIR] use libz in DIR
So this should be adding '--with-zlib=${STAGING_INCIR}'
--
Tom Rini
More information about the Openembedded-devel
mailing list