--- third_party/maldoca/BUILD.gn.orig 2023-04-05 11:05:06 UTC +++ third_party/maldoca/BUILD.gn @@ -264,6 +264,10 @@ source_set("maldoca-public-headers") { ":maldoca_chromium_config", ":maldoca_flags", ] + + if (is_bsd) { + libs = [ "iconv" ] + } } static_library("maldoca") {