Link libstdc++ statically in Updater.

Fixes #6939.
This commit is contained in:
John Preston 2020-01-17 10:42:16 +03:00
parent 87f44e87cd
commit 208b5d7b5b
1 changed files with 4 additions and 0 deletions

View File

@ -1134,6 +1134,10 @@ if (NOT build_macstore AND NOT build_winstore)
set_target_properties(Updater PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
if (LINUX)
target_link_options(Updater INTERFACE -static-libstdc++)
endif()
if (DESKTOP_APP_SPECIAL_TARGET)
add_executable(Packer WIN32)
init_target(Packer)