Use $CONFIG_DIR were appropriate
[qi-bootmenu-system.git] / sources / sections / libpng.sh
blob2bb8af41e75a2bb24fccd85d97c41e00772fa35a
1 setupfor libpng
3 # --without-libpng-compat ?
4 # --with-zlib=$ROOT_DIR/usr doesn't seem to work
5 LDFLAGS="$CROSS_LDFLAGS $LDFLAGS" CFLAGS="$CROSS_CFLAGS $CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr \
6 --without-libpng-compat &&
7 make &&
8 make DESTDIR="$STAGING_DIR" install || dienow
10 cp -P $STAGING_DIR/usr/lib/libpng*.so* $ROOT_DIR/usr/lib || dienow
12 pkgconfig_fixup_prefix libpng
13 libtool_fixup_libdir libpng
15 cleanup libpng