void-packages/srcpkgs/template-glib/patches/fix-gir-cross.patch
maxice8 ee7237b57b template-glib: enable gir, remove gir and vala build_option
Gobject introspection is hard required, so there is no reason
to avoid it with gir and vala
2019-02-07 02:48:01 -02:00

17 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')