Update the mingw32uwp wrapper libraries

- windowsapp is the preferred library when targeting Windows 10
https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis

- _UCRT ensures we use the Universal C runtime
This commit is contained in:
Steve Lhomme authored and Martin Storsjö committed 2020-06-04 00:19:33 +03:00
1 parent e34de8eb21
commit 26e56ed5f6
3 files changed
+7 -3

No files matched your search

+3 -1
View File
@@ -73,9 +73,11 @@ mingw32uwp)
# the Windows Store API only supports Windows Unicode (some rare ANSI ones are available)
FLAGS="$FLAGS -DUNICODE"
# add the minimum runtime to use for UWP targets
FLAGS="$FLAGS -Wl,-lmincore"
FLAGS="$FLAGS -Wl,-lwindowsapp"
# This requires that the default crt is ucrt.
FLAGS="$FLAGS -Wl,-lvcruntime140_app"
# Force the Universal C Runtime
FLAGS="$FLAGS -D_UCRT"
;;
esac