From ffa268596b8fecf14b543d4dbce95dae76e7aa12 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 20 Jun 2025 13:44:59 +0200 Subject: 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 --- mesonbuild/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3