summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas/0001-Do-not-skip-gir-installation-for-cross-compiling.patch
blob: c481b18f1ca86e29071389375742f04d5a953a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 42e58c4c3e95a4a78ee8294f9b3901726bbbabe4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sat, 11 May 2019 00:21:11 +0200
Subject: [PATCH] Do not skip gir installation for cross compiling
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We are cool and can handle cross gobject-introspection.

Upstream-Status: Inappropriate [OE specific]

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 headers/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/headers/meson.build b/headers/meson.build
index 3ce8b61..1132695 100644
--- a/headers/meson.build
+++ b/headers/meson.build
@@ -19,7 +19,7 @@ enums_xml = custom_target(
   install: true,
   install_dir: schemasdir)
 
-if not meson.is_cross_build() and get_option('introspection')
+if get_option('introspection')
   noinst_lib = shared_library('noinst',
                               headers,
                               install: false)
-- 
2.20.1