diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-20 13:44:59 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-07-07 20:32:11 +0300 |
| commit | ffa268596b8fecf14b543d4dbce95dae76e7aa12 (patch) | |
| tree | fbded18973e1f1694315ab250b935035f8be15c0 | |
| parent | b132fca6067f84f1cb39043af9df661f9c941b1c (diff) | |
| download | meson-ffa268596b8fecf14b543d4dbce95dae76e7aa12.tar.gz | |
options: fix direction of result
Fixes: 8dcc9d342 ("options: accept compiler and built-in options in --reconfigure and "meson configure"", 2025-05-21
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | mesonbuild/options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/options.py b/mesonbuild/options.py index c31ad9bb6..94496cc42 100644 --- a/mesonbuild/options.py +++ b/mesonbuild/options.py @@ -1085,7 +1085,7 @@ class OptionStore: if self.accept_as_pending_option(o, first_invocation=first_invocation): old_value = self.pending_options.get(o, None) self.pending_options[o] = new_value - return old_value is None or str(old_value) == new_value + return old_value is None or str(old_value) != new_value else: o = o.as_root() return self.set_option(o, new_value, first_invocation) |
