aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-03-21 00:30:12 +0300
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-03-21 00:50:21 +0300
commit953edd9fc908c162869e51c0bb191c303166220e (patch)
tree45a6f169c8bfa24ec2b34d3a340b15e42270d5cf /interpreter.py
parentb8b77e7ccc78ad038f255f5833daed52ea35cfcc (diff)
downloadmeson-953edd9fc908c162869e51c0bb191c303166220e.zip
meson-953edd9fc908c162869e51c0bb191c303166220e.tar.gz
meson-953edd9fc908c162869e51c0bb191c303166220e.tar.bz2
modules/rpm: add compilers to BuildRequires automatically
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/interpreter.py b/interpreter.py
index edc7721..35722ab 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -617,6 +617,7 @@ class ModuleHolder(InterpreterObject):
state.subdir = self.interpreter.subdir
state.environment = self.interpreter.environment
state.project_name = self.interpreter.build.project_name
+ state.compilers = self.interpreter.build.compilers
state.targets = self.interpreter.build.targets
value = fn(state, args, kwargs)
return self.interpreter.module_method_callback(value)