Allow building of g-i with static libs which should
work since Meson 0.49 and sufficiently recent
gobject-introspection (>= 1.58.1). If g-i is too
old people will get a suitable error message and
can disable g-i via build options.
nice_include = include_directories('.')
# introspection
-build_gir = gir.found() and not get_option('introspection').disabled() and get_option('default_library') != 'static'
+build_gir = gir.found() and not get_option('introspection').disabled()
if build_gir
nice_gen_sources += [
gnome.generate_gir(libnice,