diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-06-30 20:43:05 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-06-30 20:43:05 +0300 |
commit | ac127db9194616298bb80134a2bda6e0858a0e15 (patch) | |
tree | b6f550f0da007314ac2bdce31320b38a158af820 /interpreter.py | |
parent | 6f76c45a542d4515c7b850a9878fc8030cd273de (diff) | |
download | meson-ac127db9194616298bb80134a2bda6e0858a0e15.zip meson-ac127db9194616298bb80134a2bda6e0858a0e15.tar.gz meson-ac127db9194616298bb80134a2bda6e0858a0e15.tar.bz2 |
Get builtin options by correct name in subprojects.
Diffstat (limited to 'interpreter.py')
-rw-r--r-- | interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py index 026c7ff..4bd7c6f 100644 --- a/interpreter.py +++ b/interpreter.py @@ -1130,7 +1130,7 @@ class Interpreter(): if len(args) != 1: raise InterpreterException('Argument required for get_option.') optname = args[0] - if self.is_subproject(): + if optname not in coredata.builtin_options and self.is_subproject(): optname = self.subproject + ':' + optname try: return self.environment.get_coredata().get_builtin_option(optname) |