mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
meson.build: change operator combining bools from + to and
upstream meson stopped allowing combining boolean with the plus
operator, and now requires using the logical and operator
reference:
43302d3296
Fixes: #20632
This commit is contained in:
parent
2c1591b91e
commit
c29537f39e
@ -35,7 +35,7 @@ conf.set10('BUILD_MODE_DEVELOPER', get_option('mode') == 'developer',
|
|||||||
|
|
||||||
want_ossfuzz = get_option('oss-fuzz')
|
want_ossfuzz = get_option('oss-fuzz')
|
||||||
want_libfuzzer = get_option('llvm-fuzz')
|
want_libfuzzer = get_option('llvm-fuzz')
|
||||||
if want_ossfuzz + want_libfuzzer > 1
|
if want_ossfuzz and want_libfuzzer
|
||||||
error('only one of oss-fuzz or llvm-fuzz can be specified')
|
error('only one of oss-fuzz or llvm-fuzz can be specified')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user