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

17 lines
514 B
Diff
Raw Normal View History

2019-02-07 12:50:58 +00:00
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')