--- Telegram/CMakeLists.txt.intermediate	2020-09-27 16:32:03 UTC
+++ Telegram/CMakeLists.txt
@@ -1304,6 +1304,11 @@ endif()
 
 set_target_properties(Telegram PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
 
+# Why is this even needed
+if (CMAKE_SYSTEM_NAME MATCHES "DragonFly")
+    target_link_options(Telegram PRIVATE -lstdc++)
+endif()
+
 if ((NOT DESKTOP_APP_DISABLE_AUTOUPDATE OR APPLE) AND NOT build_macstore AND NOT build_winstore)
     add_executable(Updater WIN32)
     init_target(Updater)
