[oe] libxml2-native build against host zlib.h

Khem Raj raj.khem at gmail.com
Mon Mar 23 21:00:24 UTC 2009


2009/3/23 Jader H. Silva <jader at 2mi.com.br>:
>   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.

hmm setting --with-zlib to point to a single header file seems not
correct to me. Can you explore a bit more ? may be
--with-zlib-include=${STAGING_INCDIR} would be a better solution if
something like that exists and works.

Thx

-Khem




More information about the Openembedded-devel mailing list