scons: link statically against libstdc++ and libgcc for mingw32 cross-compile
This commit is contained in:
parent
62549bfccb
commit
26cddd3a73
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ def setup_cross_compile(env):
|
|||
env["PLATFORM"] = "win32"
|
||||
env["PROGSUFFIX"] = ".exe"
|
||||
env.Tool("mingw")
|
||||
env.Append(LINKFLAGS = ["-static-libgcc", "-static-libstdc++"])
|
||||
else:
|
||||
env.Tool("default")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue