diff options
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 4d41f1a..b64eb7f 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -1331,7 +1331,7 @@ class Interpreter(): key, value = option.split('=', 1) builtin_options = self.coredata.builtin_options if key in builtin_options: - if not hasattr(self.environment.cmd_line_options, value): + if not self.environment.had_argument_for(key): self.coredata.set_builtin_option(key, value) # If this was set on the command line, do not override. else: |