From 3454fed3248e311f532101499bda357bb6eb598d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 17 Dec 2014 16:35:27 +0100 Subject: win32/build.py: add option "--64" for a x64 build --- win32/build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/win32/build.py b/win32/build.py index 889e862d6..09fb79e38 100755 --- a/win32/build.py +++ b/win32/build.py @@ -10,6 +10,10 @@ configure_args = sys.argv[1:] host_arch = 'i686-w64-mingw32' +if configure_args[0] == '--64': + configure_args = configure_args[1:] + host_arch = 'x86_64-w64-mingw32' + # the path to the MPD sources mpd_path = os.path.dirname(os.path.dirname(sys.argv[0])) -- cgit v1.2.3