meson: disable xattr on macos

macos has a different implementation than linux for xattr. This commit
disables XATTR again for macos.
devs/bu5hm4n/make_doc_cop_happy
Marcel Hollerbach 4 years ago
parent 5e54ad67ec
commit 920a1b4a52
  1. 2
      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

Loading…
Cancel
Save