mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
meson: fix header check message
before: Checking if "endian.h works" compiles: YES after: Checking if "endian.h" compiles: YES Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.co.uk>
This commit is contained in:
parent
2f181c8c18
commit
1e36fe5dc4
1 changed files with 1 additions and 1 deletions
|
|
@ -917,7 +917,7 @@ elif cc.has_header_symbol('sys/mkdev.h', 'major')
|
|||
endif
|
||||
|
||||
foreach h : ['xlocale.h', 'sys/sysctl.h', 'linux/futex.h', 'endian.h']
|
||||
if cc.compiles('#include <@0@>'.format(h), name : '@0@ works'.format(h))
|
||||
if cc.compiles('#include <@0@>'.format(h), name : '@0@'.format(h))
|
||||
pre_args += '-DHAVE_@0@'.format(h.to_upper().underscorify())
|
||||
endif
|
||||
endforeach
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue