summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]))