--- a/wscript
+++ b/wscript
@@ -193,6 +193,7 @@
     else:
         ctx.define('HAVE_WIN_HACKS', 1)
         ctx.env['cshlib_PATTERN'] = 'lib%s.dll'
+        ctx.env['implib_PATTERN'] = 'lib%s.dll.a'
 
     if target_platform == 'darwin' and ctx.options.enable_fat:
         ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
