diff options
-rw-r--r-- | gcc/config/i386/mingw32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 1bbabfe..321c30e 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -165,7 +165,7 @@ along with GCC; see the file COPYING3. If not see #define REAL_LIBGCC_SPEC \ "%{mthreads:-lmingwthrd} -lmingw32 \ " SHARED_LIBGCC_SPEC " \ - -lmoldname -lmingwex -lmsvcrt" + -lmoldname -lmingwex -lmsvcrt -lkernel32" #undef STARTFILE_SPEC #define STARTFILE_SPEC "%{shared|mdll:dllcrt2%O%s} \ |