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"
CROSS=$1
CC=$CROSS-gcc \
AR=$CROSS-ar \
RANLIB=$CROSS-ranlib \
AR=$CROSS-gcc-ar \
RANLIB=$CROSS-gcc-ranlib \
GLIB="-L/usr/$CROSS/lib/ -lglib-2.0" \
${MAKE}
}