Fix static libstdc++ linking in Updater.

Fixes #6939.
This commit is contained in:
John Preston 2020-01-29 14:54:25 +03:00
parent 74d848311b
commit e6cec49646
1 changed files with 1 additions and 1 deletions

View File

@ -1180,7 +1180,7 @@ if ((NOT disable_autoupdate OR NOT LINUX) AND NOT build_macstore AND NOT build_w
set_target_properties(Updater PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
if (LINUX)
target_link_options(Updater INTERFACE -static-libstdc++)
target_link_options(Updater PRIVATE -static-libstdc++)
endif()
if (DESKTOP_APP_SPECIAL_TARGET)