diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-17 07:28:20 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-17 07:30:58 +0530 |
commit | 488d510e8394deb5361210e354f8b64387a49a82 (patch) | |
tree | c731ae14fb8448e2f5cf3d9982d5f2c4923eae80 /pango | |
parent | 7e846f2b51e24c147048d9b48061326cce612c37 (diff) | |
download | pango-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.build | 2 |
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' ] |