diff options
author | maxice8 <thinkabit.ukim@gmail.com> | 2019-02-04 08:26:19 -0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2019-02-04 10:38:27 +0000 |
commit | 8ac4f05f7f84af226805b86b0e805e5714ffd3ab (patch) | |
tree | b15851b3de3935daf15ef4639a8c2ba909e37de0 | |
parent | 2d640d042b19eb0e8a0ad7755c7f2a8c79740ad5 (diff) | |
download | appstream-glib-8ac4f05f7f84af226805b86b0e805e5714ffd3ab.tar.gz |
libappstream-glib/meson.build: pass -DAS_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.
-rw-r--r-- | libappstream-glib/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libappstream-glib/meson.build b/libappstream-glib/meson.build index 37d4747..3de5881 100644 --- a/libappstream-glib/meson.build +++ b/libappstream-glib/meson.build @@ -235,6 +235,9 @@ if get_option('introspection') 'Gio-2.0', 'GdkPixbuf-2.0' ], + extra_args : [ + '-DAS_COMPILATION', + ], link_with : asglib, install : true, ) |