Commit 94a78215 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐙

meson: Allow building of g-i with static libs.

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.
parent ff75be1b
......@@ -33,7 +33,7 @@ install_headers('nice.h', subdir: 'nice')
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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment