Index: build/config/linux/pangocairo/BUILD.gn |
diff --git a/build/config/linux/pangocairo/BUILD.gn b/build/config/linux/pangocairo/BUILD.gn |
index 727b52d53335976b87de4d4965ec5edd02fd02ba..d0d506a9a7b1ed2308ae3be88d72a62a81fa4e20 100644 |
--- a/build/config/linux/pangocairo/BUILD.gn |
+++ b/build/config/linux/pangocairo/BUILD.gn |
@@ -6,4 +6,11 @@ import("//build/config/linux/pkg_config.gni") |
pkg_config("pangocairo") { |
packages = [ "pangocairo" ] |
+ |
+ # We don't want pkgconfig for pangocairo to explicitly request FreeType to get |
+ # linked, because we control which FreeType to link to. |
+ extra_args = [ |
+ "-v", |
+ "freetype", |
+ ] |
} |