meson: disable xattr on macos

macos has a different implementation than linux for xattr. This commit
disables XATTR again for macos.
This commit is contained in:
Marcel Hollerbach 2019-06-27 16:48:37 +02:00
parent 5e54ad67ec
commit 920a1b4a52
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ if (cc.has_header('sys/mman.h'))
config_h.set10('HAVE_MMAN_H', true)
endif
if config_h.has('HAVE_LISTXATTR') and config_h.has('HAVE_SETXATTR') and config_h.has('HAVE_GETXATTR')
if sys_linux and config_h.has('HAVE_LISTXATTR') and config_h.has('HAVE_SETXATTR') and config_h.has('HAVE_GETXATTR')
config_h.set10('HAVE_XATTR', true)
endif