summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorcah <cah@ableton.com>2020-04-24 20:49:19 +0200
committercah <cah@ableton.com>2020-04-24 20:49:19 +0200
commitd1e03c7453f4f168c6f0bb567427b0e5f049ba26 (patch)
treeb9922b11fa6f0d060c4c7237a8ac42c7c027b3e7 /cscript
parentcd330f6f0ea478a921bf32a29b970a0fa4e4cfd3 (diff)
Fix 32-bit windows build.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 5cc18c6..57e7e88 100644
--- a/cscript
+++ b/cscript
@@ -32,7 +32,7 @@ def build(target, options):
ext = 'dylib'
device = 'dev'
elif target.platform == 'windows':
- type = 'mingw'
+ type = 'mingw' if target.bits == 64 else 'mingw-32'
blockdev = 'windows'
ext = 'dll'
device = 'windows'