With the current logic passing `--debug` will actually be parsed as `-Ddebug=false`, which is absolutely not what is expected. There is no case in which the presence of a boolean option in `--foo` form will mean 'I want feature foo disabled', regardless of the *default* value of that option. Also includes a test. Closes https://github.com/mesonbuild/meson/issues/4686pull/6776/head
parent
c7aa4c8861
commit
bd953b6b29
2 changed files with 12 additions and 3 deletions
Loading…
Reference in new issue