From b3745b72060e04207c6bd3695dbaeacdc3a59ef3 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Thu, 16 Jun 2011 21:49:33 +0000 Subject: [PATCH] Add mingw64 crossbuild script, patch by Zack Middleton --- cross-make-mingw64.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 cross-make-mingw64.sh diff --git a/cross-make-mingw64.sh b/cross-make-mingw64.sh new file mode 100755 index 00000000..5a05a81a --- /dev/null +++ b/cross-make-mingw64.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +export CC=amd64-mingw32msvc-gcc +export WINDRES=amd64-mingw32msvc-windres +export PLATFORM=mingw32 +if [ !$ARCH ] +then +export ARCH=x86_64 +fi +exec make $*