From 920a1b4a52b96a84d724583f442e867c4f39168b Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 27 Jun 2019 16:48:37 +0200 Subject: [PATCH] meson: disable xattr on macos macos has a different implementation than linux for xattr. This commit disables XATTR again for macos. --- header_checks/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/header_checks/meson.build b/header_checks/meson.build index 21545607b8..ff5b21ee0c 100644 --- a/header_checks/meson.build +++ b/header_checks/meson.build @@ -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