From e21451f44ce38a2ee6e3d525ef4f7e314092a40e Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 21 Mar 2013 15:47:55 +0000 Subject: Merge mingw build scripts --- cross-make-mingw64.sh | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 cross-make-mingw64.sh (limited to 'cross-make-mingw64.sh') diff --git a/cross-make-mingw64.sh b/cross-make-mingw64.sh deleted file mode 100755 index 778e20d4..00000000 --- a/cross-make-mingw64.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -# Note: This works in Linux and cygwin - -CMD_PREFIX="amd64-mingw32msvc x86_64-w64-mingw32"; - -if [ "X$CC" = "X" ]; then - for check in $CMD_PREFIX; do - full_check="${check}-gcc" - which "$full_check" > /dev/null 2>&1 - if [ "$?" = "0" ]; then - export CC="$full_check" - fi - done -fi - -if [ "X$WINDRES" = "X" ]; then - for check in $CMD_PREFIX; do - full_check="${check}-windres" - which "$full_check" > /dev/null 2>&1 - if [ "$?" = "0" ]; then - export WINDRES="$full_check" - fi - done -fi - -if [ "X$WINDRES" = "X" -o "X$CC" = "X" ]; then - echo "Error: Must define or find WINDRES and CC" - exit 1 -fi - -export PLATFORM=mingw32 -export ARCH=x86_64 - -exec make $* -- cgit