diff options
Diffstat (limited to 'www/chromium/files/patch-build_config_BUILD.gn')
-rw-r--r-- | www/chromium/files/patch-build_config_BUILD.gn | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/www/chromium/files/patch-build_config_BUILD.gn b/www/chromium/files/patch-build_config_BUILD.gn index 0b2b20e511f8..2722052c9507 100644 --- a/www/chromium/files/patch-build_config_BUILD.gn +++ b/www/chromium/files/patch-build_config_BUILD.gn @@ -1,22 +1,13 @@ ---- build/config/BUILD.gn.orig 2023-03-09 06:31:50 UTC +--- build/config/BUILD.gn.orig 2023-08-17 07:33:31 UTC +++ build/config/BUILD.gn -@@ -218,13 +218,17 @@ config("default_libs") { - "CoreText.framework", - "Foundation.framework", - ] -- } else if (is_linux || is_chromeos) { -+ } else if ((is_linux && !is_bsd) || is_chromeos) { - libs = [ - "dl", - "pthread", - "rt", - ] -- } +@@ -214,6 +214,10 @@ config("default_libs") { + # Targets should choose to explicitly link frameworks they require. Since + # linking can have run-time side effects, nothing should be listed here. + libs = [] + } else if (is_bsd) { + libs = [ + "pthread", + ] -+ } - } - - group("common_deps") { + } else if (is_linux || is_chromeos) { + libs = [ + "dl", |