Browse Source

Force static linking with MinGW.

Branimir Karadžić 10 years ago
parent
commit
8f49a70b42
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/toolchain.lua

+ 1 - 0
scripts/toolchain.lua

@@ -489,6 +489,7 @@ function toolchain(_buildDir, _libDir)
 		}
 		linkoptions {
 			"-Wl,--gc-sections",
+			"-static",
 			"-static-libgcc",
 			"-static-libstdc++",
 		}