1 From 2c384187cc22113c0c9b1cd233948118f7c085ef Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Mon, 25 Mar 2019 13:28:48 +0100
4 Subject: [PATCH] meson.build: disable tests when cross-compiling
6 Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/64]
7 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10 1 file changed, 3 insertions(+), 1 deletion(-)
12 diff --git a/meson.build b/meson.build
13 index 2544ff3..4c16fe5 100644
16 @@ -168,7 +168,9 @@ if get_option('enable-introspection-data') == true
21 +if not meson.is_cross_build()
25 install_data('Makefile.introspection', install_dir: join_paths(get_option('datadir'), 'gobject-introspection-1.0'))
26 install_data('m4/introspection.m4', install_dir: join_paths(get_option('datadir'), 'aclocal'))