diff options
author | Martchus | 2024-03-31 14:14:48 +0200 |
---|---|---|
committer | Martchus | 2024-03-31 14:14:48 +0200 |
commit | bc87d5c85b8fead9f26a6c1ba8ebf42c08fad24d (patch) | |
tree | 1a523365326e5201ce4c59551f2545f8281fa1e6 /0016-Link-corelib-correctly-against-runtimeobject-when-co.patch | |
parent | 73d39ea54cd7d1558c20c40807c271b40f105732 (diff) | |
download | aur-bc87d5c85b8fead9f26a6c1ba8ebf42c08fad24d.tar.gz |
Update to 6.6.3
Diffstat (limited to '0016-Link-corelib-correctly-against-runtimeobject-when-co.patch')
-rw-r--r-- | 0016-Link-corelib-correctly-against-runtimeobject-when-co.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/0016-Link-corelib-correctly-against-runtimeobject-when-co.patch b/0016-Link-corelib-correctly-against-runtimeobject-when-co.patch new file mode 100644 index 000000000000..9ba902becbc8 --- /dev/null +++ b/0016-Link-corelib-correctly-against-runtimeobject-when-co.patch @@ -0,0 +1,45 @@ +From 31f9863d7d2228baaea7be1debf94d1e272c6768 Mon Sep 17 00:00:00 2001 +From: Martchus <martchus@gmx.net> +Date: Sat, 17 Feb 2024 21:39:39 +0100 +Subject: [PATCH 16/17] 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: Ie3bd0290bb2f1c0d227c60a6cf6580efddd837fd +--- + src/corelib/CMakeLists.txt | 3 +-- + .../networkinformation/networklistmanager/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt +index f4bd31b55d4..ba7c025d722 100644 +--- a/src/corelib/CMakeLists.txt ++++ b/src/corelib/CMakeLists.txt +@@ -779,8 +779,7 @@ qt_internal_extend_target(Core CONDITION WIN32 + text/qlocale_win.cpp + ) + +-# On MS-Win, clang has two flavors, one of which immitates MSVC (so claims to be it) +-qt_internal_extend_target(Core CONDITION WIN32 AND MSVC AND NOT CLANG ++qt_internal_extend_target(Core CONDITION WIN32 + LIBRARIES + runtimeobject + ) +diff --git a/src/plugins/networkinformation/networklistmanager/CMakeLists.txt b/src/plugins/networkinformation/networklistmanager/CMakeLists.txt +index a9acc465f36..acd3754f4e5 100644 +--- a/src/plugins/networkinformation/networklistmanager/CMakeLists.txt ++++ b/src/plugins/networkinformation/networklistmanager/CMakeLists.txt +@@ -14,7 +14,7 @@ qt_internal_add_plugin(QNLMNIPlugin + Qt::NetworkPrivate + ) + +-qt_internal_extend_target(QNLMNIPlugin CONDITION WIN32 AND MSVC AND NOT CLANG ++qt_internal_extend_target(QNLMNIPlugin CONDITION WIN32 + LIBRARIES + runtimeobject + oleaut32 +-- +2.44.0 + |