Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 1 | From 179102310e9a3729fb5b00f2a7bf24b12f4a7a83 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Sat, 16 Apr 2022 20:04:14 +0200 |
| 4 | Subject: [PATCH] Allow building gir in cross environments |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | For us this works perfectly fine |
| 10 | |
| 11 | Upstream-Status: Inappropriate [OE-specific] |
| 12 | |
| 13 | Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com> |
| 14 | --- |
| 15 | libgweather/meson.build | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/libgweather/meson.build b/libgweather/meson.build |
| 19 | index 08311af..ef554f2 100644 |
| 20 | --- a/libgweather/meson.build |
| 21 | +++ b/libgweather/meson.build |
| 22 | @@ -208,7 +208,7 @@ lib_libgweather = library('gweather-4', |
| 23 | ) |
| 24 | |
| 25 | g_ir_scanner = find_program('g-ir-scanner', required: get_option('introspection')) |
| 26 | -build_gir = get_option('introspection') and g_ir_scanner.found() and not meson.is_cross_build() |
| 27 | +build_gir = get_option('introspection') and g_ir_scanner.found() |
| 28 | |
| 29 | enable_vala = get_option('enable_vala') |
| 30 | vapigen = find_program('vapigen', required: enable_vala == 'true') |
| 31 | -- |
| 32 | 2.34.1 |
| 33 | |