Link corelib correctly against runtimeobject when compiling for Windows

This library is included by mingw-w64 and also needs to be linked against
for code in `qlocale_win.cpp` enabled via the `cpp_winrt` feature flag.

Change-Id: I9f06f3845165afaf305a0fc7771a1093cba08811
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marius Kittler 2024-02-17 21:39:39 +01:00
parent 5e6308b0f5
commit ee8d5453e2

View File

@ -599,6 +599,7 @@ qt_internal_extend_target(Core CONDITION WIN32
netapi32
ntdll
ole32
runtimeobject
shell32
user32
uuid
@ -890,11 +891,6 @@ qt_internal_extend_target(Core CONDITION WASM
text/qlocale_wasm.cpp
)
qt_internal_extend_target(Core CONDITION MSVC
LIBRARIES
runtimeobject
)
qt_internal_extend_target(Core CONDITION MSVC AND CLANG
LIBRARIES
clang_rt.builtins-x86_64