[gsettings-desktop-schemas] meson: build gir even when cross-compiling



commit 18a83735244e2c7ad1b71ed1108f7df88ab1a9ff
Author: Fabrice Fontaine <fontaine fabrice gmail com>
Date:   Sun Jun 7 09:08:59 2020 +0200

    meson: build gir even when cross-compiling
    
    This can be made to work in certain circumstances when
    cross-compiling
    
    Signed-off-by: Fabrice Fontaine <fontaine fabrice gmail com>

 headers/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/headers/meson.build b/headers/meson.build
index 16dd7bd..2aed919 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')
   gir_sources = headers
 
   # Use a dummy .c source for Visual Studio builds-it is not enough


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]