diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-15 22:43:17 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-15 22:43:17 -0500 |
commit | fb19dd4a8c9735d381d79adf16c142c4d025749c (patch) | |
tree | 7ee9abe3cc90e86ea5dbbf77f5a3edf3d3cdf2a3 /pango | |
parent | d7e338081c38c8d289c3b6c782b7681477a22d62 (diff) | |
download | pango-fb19dd4a8c9735d381d79adf16c142c4d025749c.tar.gz |
Include version macros in the gir
PANGO_MAJOR/MINOR/MICRO_VERSION are useful to have
in the gir.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/meson.build b/pango/meson.build index 15386661..388d4588 100644 --- a/pango/meson.build +++ b/pango/meson.build @@ -67,7 +67,7 @@ pango_features_conf.set('PANGO_VERSION_MICRO', pango_micro_version) pango_features_conf.set('PANGO_API_VERSION', pango_api_version) pango_features_conf.set('PANGO_CURRENT_MINUS_AGE', '0') -configure_file( +pango_features_h = configure_file( input: 'pango-features.h.meson', output: 'pango-features.h', configuration: pango_features_conf, @@ -135,7 +135,7 @@ if build_gir endif pango_gir = gnome.generate_gir( libpango, - sources: pango_sources + pango_headers + [ pango_enum_h ], + sources: pango_sources + pango_headers + [ pango_enum_h, pango_features_h ], namespace: 'Pango', nsversion: pango_api_version, identifier_prefix: 'Pango', |