From 096d0f25c1461c4916c3a74594598ff0657f8f0b Mon Sep 17 00:00:00 2001 From: John Stumpo Date: Thu, 28 Feb 2013 10:57:50 -0500 Subject: [PATCH] deppack: Add libpng. --- win32/makedeps-cross.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/win32/makedeps-cross.sh b/win32/makedeps-cross.sh index b30abdbc8..a4a1374cb 100755 --- a/win32/makedeps-cross.sh +++ b/win32/makedeps-cross.sh @@ -177,6 +177,20 @@ fi # Flags passed to every dependency's ./configure script, for those deps that use autoconf and friends. COMMON_AUTOCONF_FLAGS="--prefix=$PREFIX --host=$CROSS_TOOL_PREFIX --disable-static --enable-shared CPPFLAGS=-I$PREFIX/include LDFLAGS=-L$PREFIX/lib" +# libpng +LIBPNG="libpng-1.5.14" +if test ! -f "$PREFIX"/build-stamps/libpng; then + download http://download.sourceforge.net/libpng/$LIBPNG.tar.xz + tar Jxvf $LIBPNG.tar.xz + cd $LIBPNG + ./configure $COMMON_AUTOCONF_FLAGS + make + make install + cd .. + touch "$PREFIX"/build-stamps/libpng + $RM_RF $LIBPNG +fi + # Runtime (libintl) of GNU Gettext # We build the rest later, after certain libraries are in place, to save # space as the tools can link to those libraries rather than use gettext's