]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: expand ternary in functions to if statements
authorAnita Zhang <the.anitazha@gmail.com>
Fri, 25 Oct 2019 22:46:21 +0000 (15:46 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 26 Oct 2019 09:15:56 +0000 (11:15 +0200)
commit7bc9ea513a422b452d515da9435d6cd2e3827cd1
tree0c50250b30da5c5ca103562c80285092f36b0286
parentecefbcc2a8b8108b11e0c058962eaf1ce7c3106c
meson: expand ternary in functions to if statements

Per https://github.com/mesonbuild/meson/issues/5003, ternary doesn't
always work as function args with older versions of meson.
Expand out ternary statements to stay compatible with older versions (< 0.49).
meson.build