diff options
Diffstat (limited to 'third_party/harfbuzz-ng/BUILD.gn')
-rw-r--r-- | third_party/harfbuzz-ng/BUILD.gn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/harfbuzz-ng/BUILD.gn b/third_party/harfbuzz-ng/BUILD.gn index d48eb08..195c5c8 100644 --- a/third_party/harfbuzz-ng/BUILD.gn +++ b/third_party/harfbuzz-ng/BUILD.gn @@ -24,7 +24,7 @@ declare_args() { # update that version, we'll need to work around the duplicate symbols some # other way. use_system_harfbuzz = false - } else { + } else if (is_linux) { # Use the system harfbuzz for newer versions of pangoft, and not for older # ones. pangoft links to the system harfbuzz starting with 1.31.0, which # causes duplicate symbols when we link our own version. @@ -32,6 +32,8 @@ declare_args() { pkg_config_script, pkg_config_args + [ "--atleast-version=1.31.0", "pangoft2" ], "value") + } else { + use_system_harfbuzz = false } } |