BUGFIX: Correct the libjpeg build.
BKrev: 3f5e2730hf7dPJ5h1MBjSc3LhnRRkQ
EXTRA_OECONF="--enable-static --enable-shared"
+# this libtool cant handle the multiword gcc
+CC:=${@oe.data.getVar("CC", d, 1).split()[-1].strip()}
+CFLAGS_append = " -D_REENTRANT"
+#export AR:=${AR} rv
+
do_stage() {
install -d ${STAGING_DIR}/{bin,lib,include}
install -m 644 -D jconfig.h ${STAGING_DIR}/include/jconfig.h
RDEPENDS_append_libpng3=' libpng12'
SRC_URI=http://www.libpng.org/pub/png/src/${P}.tar.bz2
-DEPENDS=virtual/libc
S=${WORKDIR}/${P}
EXTRA_OEMAKE_append=' ZLIBINC=${STAGING_DIR}/include ZLIBLIB=${STAGING_LIBDIR}'