summaryrefslogtreecommitdiff
path: root/nice
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-12-14 16:44:43 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-12-23 16:30:34 +0100
commit94a7821500b3cc222ea81443feba6ae074c20c82 (patch)
tree4bc51ff55f32a9314ceb2a2614d29173cf5ebcf6 /nice
parentff75be1b19fc2599fda520321649da32625c561d (diff)
downloadlibnice-94a7821500b3cc222ea81443feba6ae074c20c82.tar.gz
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.
Diffstat (limited to 'nice')
-rw-r--r--nice/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/nice/meson.build b/nice/meson.build
index 15dc250..12b99b2 100644
--- a/nice/meson.build
+++ b/nice/meson.build
@@ -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,