[atk: 1/2] atk/meson.build: do not guard gir behind a cross_build check.



commit db2d7a6d3c45fe57420d5e5aa8d8509c52943e6e
Author: maxice8 <thinkabit ukim gmail com>
Date:   Tue Jan 29 13:12:48 2019 -0200

    atk/meson.build: do not guard gir behind a cross_build check.
    
    People that are cross-building are very likely to set the introspection
    option to false themselves.

 atk/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/atk/meson.build b/atk/meson.build
index 69ba6c5..809a48d 100644
--- a/atk/meson.build
+++ b/atk/meson.build
@@ -137,7 +137,7 @@ libatk_dep = declare_dependency(link_with: libatk,
                                 dependencies: glib_dep,
                                 sources: atk_enum_h)
 
-if not meson.is_cross_build() and get_option('introspection')
+if get_option('introspection')
   gnome.generate_gir(libatk,
                      sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ],
                      namespace: 'Atk',


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