From 7ec29e7bc418ab3ead34a4d793d38d996e7aee27 Mon Sep 17 00:00:00 2001 From: cherepanov74 Date: Sat, 29 Aug 2015 17:04:48 +0200 Subject: [PATCH] Fixing compile on windows with mingw It does not break cross-compiling on Linux --- make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index 92d2db3a..98cac449 100755 --- a/make.sh +++ b/make.sh @@ -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} }