mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 04:40:09 +01:00
build: simplify Linux system check
No need for contains() here. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
887fec2c28
commit
bea14386bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue