summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/tdesktop-2.9.3-add-libdl-dependency.patch
blob: 3df0601b454b249486bf90487bf48fa3026ef205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Add missed dependency on libdl

https://github.com/desktop-app/lib_webview/commit/3cb51ac668d4e1b4f7f2b95fed1192350ba403af

--- tdesktop-2.9.3-full.orig/Telegram/lib_webview/CMakeLists.txt
+++ tdesktop-2.9.3-full/Telegram/lib_webview/CMakeLists.txt
@@ -56,6 +56,8 @@
 
         pkg_check_modules(WEBKIT REQUIRED webkit2gtk-4.0)
         target_include_directories(lib_webview SYSTEM PUBLIC ${WEBKIT_INCLUDE_DIRS})
+
+        target_link_libraries(lib_webview PUBLIC ${CMAKE_DL_LIBS})
     else()
         remove_target_sources(lib_webview ${src_loc}
             webview/platform/linux/webview_linux_webkit_gtk.cpp