[libdazzle: 1/2] src/meson.build: pass -DDAZZLE_COMPILATION to gir compiler
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle: 1/2] src/meson.build: pass -DDAZZLE_COMPILATION to gir compiler
- Date: Wed, 6 Feb 2019 05:11:30 +0000 (UTC)
commit d0e36ad877369e28b36a9fab7fe4aeaade5ef354
Author: maxice8 <thinkabit ukim gmail com>
Date: Mon Feb 4 08:44:46 2019 -0200
src/meson.build: pass -DDAZZLE_COMPILATION to gir compiler
This fixes cross building of gir using Yocto Project/Buildroot
method.
This is also done on:
atk with -DATK_COMPILATION,
gdk-pixbuf with -DGDK_PIXBUF_COMPILATION,
libgusb with -DGUSB_COMPILATION,
appstream-glib with -DAS_COMPILATION.
src/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/meson.build b/src/meson.build
index 6ff8a6a..111b7e5 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -132,7 +132,7 @@ if get_option('with_introspection')
install_dir_gir: girdir,
install_dir_typelib: typelibdir,
export_packages: libdazzle_package,
- extra_args: [ '--c-include=dazzle.h', '--quiet' ],
+ extra_args: [ '--c-include=dazzle.h', '--quiet', '-DDAZZLE_COMPILATION', ],
)
if get_option('with_vapi')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]