summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2014-07-11 16:09:58 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2014-07-11 16:09:58 +0200
commit8a00e30c76d2dfba8297986d354ffda2da15e1e1 (patch)
tree4ce33f5adf95c4c6a3f687bcecf5bd6df5f1ea94
parent356c5d3937d609423925662708f32dc72c403cc3 (diff)
autotools: support disabling introspection per recipe
-rw-r--r--cerbero/build/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cerbero/build/build.py b/cerbero/build/build.py
index 788016d3..18513bb1 100644
--- a/cerbero/build/build.py
+++ b/cerbero/build/build.py
@@ -218,6 +218,7 @@ class Autotools (MakefilesBase):
add_host_build_target = True
can_use_configure_cache = True
supports_cache_variables = True
+ disable_introspection = False
def configure(self):
if self.supports_non_src_build:
@@ -229,7 +230,7 @@ class Autotools (MakefilesBase):
self.configure_tpl += " --disable-maintainer-mode "
self.configure_tpl += " --disable-silent-rules "
- if self.config.variants.gi:
+ if self.config.variants.gi and not self.disable_introspection:
self.configure_tpl += " --enable-introspection "
else:
self.configure_tpl += " --disable-introspection "