summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-06-18 16:46:06 +0200
committerGitHub <noreply@github.com>2022-06-18 16:46:06 +0200
commite41d2903adbd36353df96c016555343a8e44302b (patch)
tree1004ade5bda98da37227913eb18e3812897fa202 /SConstruct
parent62ab2e59f8781286724b1347a0bf97b88ccc63e6 (diff)
parentf315912d8568d47c52f739807768629714981fdf (diff)
downloadfork-godot-webrtc-native-e41d2903adbd36353df96c016555343a8e44302b.tar.gz
fork-godot-webrtc-native-e41d2903adbd36353df96c016555343a8e44302b.tar.bz2
fork-godot-webrtc-native-e41d2903adbd36353df96c016555343a8e44302b.zip
Merge pull request #54 from Faless/fix/win32_mingw
[Windows] Fix windows build with mingw.
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"]