[libgxps] meson.build: don't assume that cross builds can't generate gir



commit 4bf60d8d3dd43af6304d2dbf9cf839160ccb89ea
Author: maxice8 <thinkabit ukim gmail com>
Date:   Mon Feb 4 12:33:34 2019 -0200

    meson.build: don't assume that cross builds can't generate gir
    
    Void Linux started cross compiling gir projects using the methods
    already done by the Yocto Project and Buildroot.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index a34a616..2d6eb1e 100644
--- a/meson.build
+++ b/meson.build
@@ -131,7 +131,7 @@ libm_dep = cc.find_library('m', required: false)
 
 gnome = import('gnome')
 gir = find_program('g-ir-scanner', required: false)
-build_gir = gir.found() and not meson.is_cross_build() and not get_option('disable-introspection')
+build_gir = gir.found() and not get_option('disable-introspection')
 
 configure_file(output: 'config.h', configuration: cdata)
 


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