Merge pull request #75 from cherepanov74/master

Fixing compile on windows with mingw
This commit is contained in:
Nguyen Anh Quynh 2015-08-30 00:27:20 +08:00
commit 5840f186fd

View file

@ -38,8 +38,8 @@ build_cross() {
[ "$UNAME" = Darwin ] && LIBARCHS="i386 x86_64" [ "$UNAME" = Darwin ] && LIBARCHS="i386 x86_64"
CROSS=$1 CROSS=$1
CC=$CROSS-gcc \ CC=$CROSS-gcc \
AR=$CROSS-ar \ AR=$CROSS-gcc-ar \
RANLIB=$CROSS-ranlib \ RANLIB=$CROSS-gcc-ranlib \
GLIB="-L/usr/$CROSS/lib/ -lglib-2.0" \ GLIB="-L/usr/$CROSS/lib/ -lglib-2.0" \
${MAKE} ${MAKE}
} }