summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 56bb711..e79913e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -67,6 +67,10 @@ else:
})
env = env.Clone()
+# Patch mingw SHLIBSUFFIX.
+if env["platform"] == "windows" and env["use_mingw"]:
+ env["SHLIBSUFFIX"] = ".dll"
+
opts.Update(env)
target = env["target"]