win32/build.py: add option "--64" for a x64 build

This commit is contained in:
Max Kellermann 2014-12-17 16:35:27 +01:00
parent a64ffda688
commit 3454fed324
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ configure_args = sys.argv[1:]
host_arch = 'i686-w64-mingw32' 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 # the path to the MPD sources
mpd_path = os.path.dirname(os.path.dirname(sys.argv[0])) mpd_path = os.path.dirname(os.path.dirname(sys.argv[0]))