atk: don't guard gir introspection behind cross_build check.

upstream issue: https://gitlab.gnome.org/GNOME/atk/merge_requests/12
This commit is contained in:
maxice8 2019-01-29 13:45:46 -02:00 committed by maxice8
parent 36d9122e6f
commit 99cc7f02b2
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff --git a/atk/meson.build b/atk/meson.build
index 616a3e6..941ded8 100644
--- atk/meson.build
+++ atk/meson.build
@@ -137,7 +137,7 @@ libatk_dep = declare_dependency(link_with: libatk,
dependencies: gobject_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',