Skip to content

Commit

Permalink
deppack: Add libpng.
Browse files Browse the repository at this point in the history
  • Loading branch information
stump committed Feb 28, 2013
1 parent 357e5fc commit 096d0f2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions win32/makedeps-cross.sh
Expand Up @@ -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
Expand Down

0 comments on commit 096d0f2

Please sign in to comment.