diff --git a/cc/stl.go b/cc/stl.go index 9dc8107e5..487087015 100644 --- a/cc/stl.go +++ b/cc/stl.go @@ -251,7 +251,7 @@ func init() { android.Linux: []string{"-lgcc_s", "-lgcc", "-lc", "-lgcc_s", "-lgcc"}, android.Darwin: []string{"-lc", "-lSystem"}, android.Windows: []string{"-Wl,--start-group", "-lmingw32", "-lgcc", "-lgcc_eh", - "-lmoldname", "-lmingwex", "-lmsvcr110", "-lmsvcrt", "-lpthread", + "-lmoldname", "-lmingwex", "-lmsvcrt", "-lucrt", "-lpthread", "-ladvapi32", "-lshell32", "-luser32", "-lkernel32", "-lpsapi", "-Wl,--end-group"}, }