From: John B. <jb...@fr...> - 2009-12-31 01:15:50
|
From: Glenn Randers-Pehrson [mailto:gl...@gm...] >The bugtrack reporter also supplied a patch, which merely changes the >--prefix output from ${prefix} to ${SYSROOT}${prefix}. That looks >harmless enough, but I don't see how that would help the >application builder find the right libraries (e.g., libz) to use in >the build. I'd think the -L and -I info might also need to >account for $SYSROOT. That is in the patch too. I have doubts about the wisdom of installing a system file with a floating, potentially undefined, environment variable. It seems to me that /usr/bin/libpng-config should not depend on the setting of $SYSROOT in the user's environment. What I'm not sure about are the real requirements for SYSROOT. OpenEmbedded mailing lists have this thread from over two years ago: http://projects.linuxtogo.org/pipermail/openembedded-devel/2007-September/003037.html OE is using pkg-config and libpng.pc; not libpng-config. I have to ask whether the cross-compilation requirement for libpng-config, as opposed to libpng.pc, is really worth the risk of imposing an embedded environment variable on everyone. John Bowler <jb...@ac...> |