Skip to content

Commit ffa2685

Browse files
bonzinijpakkane
authored andcommitted
options: fix direction of result
Fixes: 8dcc9d3 ("options: accept compiler and built-in options in --reconfigure and "meson configure"", 2025-05-21 Signed-off-by: Paolo Bonzini <[email protected]>
1 parent b132fca commit ffa2685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesonbuild/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ def set_option_maybe_root(self, o: OptionKey, new_value: ElementaryOptionValues,
10851085
if self.accept_as_pending_option(o, first_invocation=first_invocation):
10861086
old_value = self.pending_options.get(o, None)
10871087
self.pending_options[o] = new_value
1088-
return old_value is None or str(old_value) == new_value
1088+
return old_value is None or str(old_value) != new_value
10891089
else:
10901090
o = o.as_root()
10911091
return self.set_option(o, new_value, first_invocation)

0 commit comments

Comments
 (0)