summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-15 22:43:17 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-02-15 22:43:17 -0500
commitfb19dd4a8c9735d381d79adf16c142c4d025749c (patch)
tree7ee9abe3cc90e86ea5dbbf77f5a3edf3d3cdf2a3
parentd7e338081c38c8d289c3b6c782b7681477a22d62 (diff)
downloadpango-fb19dd4a8c9735d381d79adf16c142c4d025749c.tar.gz
Include version macros in the gir
PANGO_MAJOR/MINOR/MICRO_VERSION are useful to have in the gir.
-rw-r--r--pango/meson.build4
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',