build: simplify Linux system check

No need for contains() here.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2024-06-26 21:51:08 +02:00
parent 887fec2c28
commit bea14386bc

View file

@ -169,7 +169,7 @@ else
endif
# The header is not required on Linux, and is in fact deprecated in glibc 2.30+
if ['linux'].contains(host_machine.system())
if host_machine.system() == 'linux'
config.set10('HAVE_SYS_SYSCTL_H', false)
else
# From Niclas Zeising: