wrappers: force linking with mincore for UWP targets

it's not needed for regular win32 so shouldn't be either for these targets
This commit is contained in:
Steve Lhomme authored and Martin Storsjö committed 2019-04-18 12:23:38 +03:00
1 parent 707fda6348
commit a270bc3cad
3 files changed
+12 -1

No files matched your search

+2
View File
@@ -303,6 +303,8 @@ int _tmain(int argc, TCHAR* argv[]) {
exec_argv[arg++] = _T("-DWINAPI_FAMILY=WINAPI_FAMILY_APP");
// the Windows Store API only supports Windows Unicode (some rare ANSI ones are available)
exec_argv[arg++] = _T("-DUNICODE");
// add the minimum runtime to use for UWP targets
exec_argv[arg++] = _T("-Wl,-lmincore");
}
exec_argv[arg++] = _T("-target");