[jsonrpc-glib: 1/2] meson: pass -DJSONRPC_GLIB_COMPILATION to gir compiler



commit d3ad0622431d26736de6e6c02c1dd5b65a054f71
Author: maxice8 <thinkabit ukim gmail com>
Date:   Thu Feb 7 10:48:12 2019 -0200

    meson: pass -DJSONRPC_GLIB_COMPILATION to gir compiler
    
    Fixes cross compilation

 src/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/meson.build b/src/meson.build
index 12f8e32..3366e96 100644
--- a/src/meson.build
+++ b/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')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]