Fixing compile on windows with mingw

It does not break cross-compiling on Linux
This commit is contained in:
cherepanov74 2015-08-29 17:04:48 +02:00
parent 15f6da1c3a
commit 7ec29e7bc4
1 changed files with 2 additions and 2 deletions

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}
}