summaryrefslogtreecommitdiff
path: root/header_checks
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-27 16:48:37 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-27 17:18:54 +0200
commit920a1b4a52b96a84d724583f442e867c4f39168b (patch)
tree806b25c1083ed9cec793c2dda7ec4f01ef93cfea /header_checks
parent5e54ad67ecc34fafce30bc9cd913624fe91a737d (diff)
downloadefl-920a1b4a52b96a84d724583f442e867c4f39168b.tar.gz
meson: disable xattr on macos
macos has a different implementation than linux for xattr. This commit disables XATTR again for macos.
Diffstat (limited to 'header_checks')
-rw-r--r--header_checks/meson.build2
1 files changed, 1 insertions, 1 deletions
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