Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame^] | 1 | From 42e58c4c3e95a4a78ee8294f9b3901726bbbabe4 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Sat, 11 May 2019 00:21:11 +0200 |
| 4 | Subject: [PATCH] Do not skip gir installation for cross compiling |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | We are cool and can handle cross gobject-introspection. |
| 10 | |
| 11 | Upstream-Status: Inappropriate [OE specific] |
| 12 | |
| 13 | Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com> |
| 14 | --- |
| 15 | headers/meson.build | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/headers/meson.build b/headers/meson.build |
| 19 | index 3ce8b61..1132695 100644 |
| 20 | --- a/headers/meson.build |
| 21 | +++ b/headers/meson.build |
| 22 | @@ -19,7 +19,7 @@ enums_xml = custom_target( |
| 23 | install: true, |
| 24 | install_dir: schemasdir) |
| 25 | |
| 26 | -if not meson.is_cross_build() and get_option('introspection') |
| 27 | +if get_option('introspection') |
| 28 | noinst_lib = shared_library('noinst', |
| 29 | headers, |
| 30 | install: false) |
| 31 | -- |
| 32 | 2.20.1 |
| 33 | |