aboutsummaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-17 16:35:27 +0100
committerMax Kellermann <max@duempel.org>2014-12-17 19:28:53 +0100
commit3454fed3248e311f532101499bda357bb6eb598d (patch)
tree5a465dd54cf9f932b7bf5c5483da3c5596e7114a /win32
parenta64ffda688f1e194af344f0eb9bdf927552a4c02 (diff)
downloadmpd-3454fed3248e311f532101499bda357bb6eb598d.tar.gz
mpd-3454fed3248e311f532101499bda357bb6eb598d.tar.xz
mpd-3454fed3248e311f532101499bda357bb6eb598d.zip
win32/build.py: add option "--64" for a x64 build
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/build.py4
1 files changed, 4 insertions, 0 deletions
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]))