Ports/glib: Do not flag support for extended attributes (xattr)

This commit is contained in:
Kenneth Myhra 2022-10-03 21:38:56 +02:00 committed by Linus Groh
parent 64b46794b9
commit 8989482293
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Kenneth Myhra <kennethmyhra@gmail.com>
Date: Mon, 3 Oct 2022 17:19:25 +0200
Subject: [PATCH] Do not flag support for extended attributes (xattr)
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 6a7ea498e55d51f0fb7547160be7f87e95708039..40f9351ef98943871549911f69ecae7218743366 100644
--- a/meson.build
+++ b/meson.build
@@ -2164,7 +2164,7 @@ if host_system == 'linux'
endif
xattr_dep = []
-if host_system != 'windows' and get_option('xattr')
+if host_system != 'windows' and host_system != 'serenity' and get_option('xattr')
# either glibc or libattr can provide xattr support
# for both of them, we check for getxattr being in
# the library and a valid xattr header.

View file

@ -65,3 +65,8 @@ Include 'strings.h' for strcasecmp
Exclude arpa/nameser.h as it does not exist on Serenity
## `0012-Do-not-flag-support-for-extended-attributes-xattr.patch`
Do not flag support for extended attributes (xattr)