blob: cd6de853e5a4c32bfbb08b60ab8d97b83bfdfb68 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001From 85f7b74fc602214297928afe09347c31d696173d Mon Sep 17 00:00:00 2001
Brad Bishop19323692019-04-05 15:28:33 -04002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 15 Feb 2019 14:21:06 +0100
4Subject: [PATCH] Do not enforce no-introspection when cross-building
5
6Upstream-Status: Pending
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Brad Bishopc342db32019-05-15 21:57:59 -04008Signed-off-by: Alistair Francis <alistair@alistair23.me>
Brad Bishop19323692019-04-05 15:28:33 -04009---
10 meson.build | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/meson.build b/meson.build
Brad Bishopc342db32019-05-15 21:57:59 -040014index 25887f9..6261a7c 100644
Brad Bishop19323692019-04-05 15:28:33 -040015--- a/meson.build
16+++ b/meson.build
Brad Bishopc342db32019-05-15 21:57:59 -040017@@ -281,7 +281,7 @@ enable_gnome = get_option('gnome') and host_machine.system() != 'windows'
18 # FIXME: once we start to require meson 0.49.0+ and gnome-introspection 1.58.1+
19 # the we can enable the introspection even for the static build. See
20 # https://github.com/mesonbuild/meson/pull/4478.
21-enable_introspection = get_option('introspection') and find_program('g-ir-scanner', required: false).found() and not meson.is_cross_build() and not is_static_library
22+enable_introspection = get_option('introspection') and find_program('g-ir-scanner', required: false).found() and not is_static_library
Brad Bishop19323692019-04-05 15:28:33 -040023
24 ############
25 # Vala API #
Brad Bishopc342db32019-05-15 21:57:59 -040026--
272.20.1
28