diff --git a/lib/3rdparty/mingw/cinitexe.c b/lib/3rdparty/mingw/cinitexe.c index b69eebe7eb9..b7a957fd72f 100644 --- a/lib/3rdparty/mingw/cinitexe.c +++ b/lib/3rdparty/mingw/cinitexe.c @@ -2,6 +2,10 @@ #include #include +#ifdef _MSC_VER +#pragma comment(linker, "/merge:.CRT=.rdata") +#endif + _CRTALLOC(".CRT$XIA") _PVFV __xi_a[] = { NULL }; _CRTALLOC(".CRT$XIZ") _PVFV __xi_z[] = { NULL }; _CRTALLOC(".CRT$XCA") _PVFV __xc_a[] = { NULL };