void-packages/srcpkgs/jsonrpc-glib/patches/fix-gir-cross.patch
2019-02-07 11:26:16 -02:00

16 lines
514 B
Diff

diff --git a/src/meson.build b/src/meson.build
index 12f8e32..3366e96 100644
--- src/meson.build
+++ src/meson.build
@@ -79,7 +79,10 @@ if get_option('with_introspection')
install: true,
install_dir_gir: girdir,
install_dir_typelib: typelibdir,
- extra_args: [ '--c-include=jsonrpc-glib.h' ],
+ extra_args: [
+ '--c-include=jsonrpc-glib.h',
+ '-DJSONRPC_GLIB_COMPILATION',
+ ],
)
if get_option('with_vapi')