Skip to content

Commit

Permalink
meson.build: change operator combining bools from + to and
Browse files Browse the repository at this point in the history
upstream meson stopped allowing combining boolean with the plus
operator, and now requires using the logical and operator

reference:
mesonbuild/meson@43302d3

Fixes: #20632
  • Loading branch information
Dan Streetman authored and yuwata committed Sep 4, 2021
1 parent 2c1591b commit c29537f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Expand Up @@ -35,7 +35,7 @@ conf.set10('BUILD_MODE_DEVELOPER', get_option('mode') == 'developer',

want_ossfuzz = get_option('oss-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')
endif

Expand Down

0 comments on commit c29537f

Please sign in to comment.