summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-12-17 07:28:20 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2022-12-17 07:30:58 +0530
commit488d510e8394deb5361210e354f8b64387a49a82 (patch)
treec731ae14fb8448e2f5cf3d9982d5f2c4923eae80 /pango
parent7e846f2b51e24c147048d9b48061326cce612c37 (diff)
downloadpango-488d510e8394deb5361210e354f8b64387a49a82.tar.gz
meson: Fix pangoft2.pc when using freetype and fontconfig subprojects
This is the same change that was made for pangocairo earlier. Without this, the pc file contains the following requires line: ``` Requires: pango, ``` Which is incorrect, and also invalid.
Diffstat (limited to 'pango')
-rw-r--r--pango/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/meson.build b/pango/meson.build
index 7d18cb00..2aed62e6 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -573,7 +573,7 @@ if cairo_dep.found()
# Create pangocairo.pc according to whether we found Cairo
# manually
- if ['pkgconfig', 'internal'].contains(cairo_found_type)
+ if cairo_found_type in ['pkgconfig', 'internal']
pango_cairo_requires = [ 'pango', cairo_pc ]
else
pango_cairo_requires = [ 'pango' ]