diff options
Diffstat (limited to 'meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-meson.build-disable-tests-when-cross-compiling.patch')
-rw-r--r-- | meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-meson.build-disable-tests-when-cross-compiling.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-meson.build-disable-tests-when-cross-compiling.patch b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-meson.build-disable-tests-when-cross-compiling.patch deleted file mode 100644 index c4951b22bb..0000000000 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-meson.build-disable-tests-when-cross-compiling.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
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 | ||
5 | |||
6 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/64] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | meson.build | 4 +++- | ||
10 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/meson.build b/meson.build | ||
13 | index 2544ff3..4c16fe5 100644 | ||
14 | --- a/meson.build | ||
15 | +++ b/meson.build | ||
16 | @@ -168,7 +168,9 @@ if get_option('enable-introspection-data') == true | ||
17 | endif | ||
18 | subdir('examples') | ||
19 | subdir('docs') | ||
20 | -subdir('tests') | ||
21 | +if not meson.is_cross_build() | ||
22 | + subdir('tests') | ||
23 | +endif | ||
24 | |||
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')) | ||