From b29f66b2cf8ba4dd56d20a675e6c1932dad6ce9f Mon Sep 17 00:00:00 2001 From: pandora-release Date: Tue, 17 Jun 2014 19:23:15 +0000 Subject: [PATCH] Added support for x86_64 automatic builds. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/win32/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pandora_agents/win32/build.sh b/pandora_agents/win32/build.sh index ec0976c3b4..2759a6b9cb 100755 --- a/pandora_agents/win32/build.sh +++ b/pandora_agents/win32/build.sh @@ -3,9 +3,10 @@ # The installer will be placed in ./installer/output/. # InstallJammer must be installed and in the PATH. -DIST=`lsb_release -i | awk '{print $3}'` -HOST="i586-mingw32msvc" -if [ "$DIST" == "openSUSE" ]; then +ARCH=`uname -m` +if [ "$ARCH" == "x86_64" ]; then + HOST="x86_64-w64-mingw32" +else HOST="i686-w64-mingw32" fi