void-packages/srcpkgs/template-glib/patches/fix-gir-cross.patch

18 lines
504 B
Diff

diff --git a/src/meson.build b/src/meson.build
index 08d325b..5adef72 100644
--- src/meson.build
+++ src/meson.build
@@ -174,7 +174,10 @@ if get_option('with_introspection')
install: true,
install_dir_gir: girdir,
install_dir_typelib: typelibdir,
- extra_args: [ '--c-include=tmpl-glib.h' ],
+ extra_args: [
+ '--c-include=tmpl-glib.h',
+ '-DTMPL_GLIB_COMPILATION',
+ ],
)
if get_option('with_vapi')