telegram-desktop/0004-use-dynamic-x-libraries.patch
Xu Zhao 9a881aade6 - Remove patches
* 0001-use-bundled-webrtc.patch
  * 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch
  * 0003-revert-webrtc-cmake-target-file.patch
  * 0004-use-dynamic-x-libraries.patch
  * 0005-use-bundled-ada.patch
  * 0006-tdesktop-disable-h264.patch
  * 0007-tg_owt-h264-dlopen.patch
- Add patches
  * 0001-dynamic-link-x.patch
  * 0002-tg_owt-h264-dlopen.patch

OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=344
2025-01-18 14:19:29 +00:00

14 lines
490 B
Diff

Index: tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt
===================================================================
--- tdesktop-4.4.0-full.orig/cmake/external/webrtc/CMakeLists.txt
+++ tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt
@@ -110,7 +110,7 @@ elseif (APPLE)
)
else()
# Required for desktop_capture
- target_link_static_libraries(external_webrtc
+ target_link_libraries(external_webrtc
INTERFACE
Xcomposite
Xdamage