From d71068f5b38363b8712a539eb42b0601ca5f5303 Mon Sep 17 00:00:00 2001 From: Jorge Zapata Date: Sat, 30 Mar 2019 02:27:45 +0100 Subject: gi: disable correctly gi when no typelibs are defined --- cerbero/build/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cerbero/build/build.py b/cerbero/build/build.py index 0bcbf0cc..2db01ee0 100644 --- a/cerbero/build/build.py +++ b/cerbero/build/build.py @@ -444,7 +444,8 @@ class Autotools (MakefilesBase): # Never build gtk-doc documentation self.configure_tpl += " --disable-gtk-doc " - if self.config.variants.gi and not self.disable_introspection: + if self.config.variants.gi and not self.disable_introspection \ + and self.use_gobject_introspection(): self.configure_tpl += " --enable-introspection " else: self.configure_tpl += " --disable-introspection " -- cgit v1.2.3