From af8c1f77c71e9ef5b146d45a5b2cacd9dccaf065 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 6 Feb 2023 10:36:51 +0400 Subject: [PATCH] Change td_ui to a static library. This (temporarily) fixes LTCG linking on Windows 32 bit. I hope this fixes #25832. --- Telegram/cmake/td_ui.cmake | 2 +- Telegram/lib_base | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/cmake/td_ui.cmake b/Telegram/cmake/td_ui.cmake index 14ff99582..4636aa044 100644 --- a/Telegram/cmake/td_ui.cmake +++ b/Telegram/cmake/td_ui.cmake @@ -4,7 +4,7 @@ # For license and copyright information please follow this link: # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL -add_library(td_ui OBJECT) +add_library(td_ui STATIC) init_non_host_target(td_ui ltcg) add_library(tdesktop::td_ui ALIAS td_ui) diff --git a/Telegram/lib_base b/Telegram/lib_base index b9d5ad1ad..0698cd1af 160000 --- a/Telegram/lib_base +++ b/Telegram/lib_base @@ -1 +1 @@ -Subproject commit b9d5ad1ad514e58e7f0ec5eacd8139d34e970dc8 +Subproject commit 0698cd1af30b09b66d5eee7dfa93c4d489086660