Fix 32-bit windows build.
[lwext4.git] / cscript
diff --git a/cscript b/cscript
index 5cc18c6286d3f8846c7c76991d7c4a3f0ee6852b..57e7e885d9bd414b84f6127e90d7d17390519993 100644 (file)
--- 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'