Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | From 921888affe66953c92a08ae440e911b016b124be Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Fri, 15 Feb 2019 14:21:06 +0100 |
| 4 | Subject: [PATCH] Do not enforce no-introspection when cross-building |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 8 | --- |
| 9 | meson.build | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | |
| 12 | diff --git a/meson.build b/meson.build |
| 13 | index 5a92cda..cfb3520 100644 |
| 14 | --- a/meson.build |
| 15 | +++ b/meson.build |
| 16 | @@ -262,7 +262,7 @@ enable_gnome = get_option('gnome') and host_machine.system() != 'windows' |
| 17 | ######################### |
| 18 | # GObject introspection # |
| 19 | ######################### |
| 20 | -enable_introspection = get_option('introspection') and find_program('g-ir-scanner', required: false).found() and not meson.is_cross_build() |
| 21 | +enable_introspection = get_option('introspection') and find_program('g-ir-scanner', required: false).found() |
| 22 | |
| 23 | ############ |
| 24 | # Vala API # |