From bdbd6ab4d031b03fe68c656ab91d82dba9e208c6 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Sat, 1 May 2021 12:56:19 -0700 Subject: [PATCH] package/libglib2: add -Dxattr=true when libselinux is selected Xattrs is required for SELinux. Explicitly enable the feature when the libselinux package is selected. Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- package/libglib2/libglib2.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index b5554d6b56..e3263ce9ce 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -77,10 +77,10 @@ LIBGLIB2_DEPENDENCIES += libiconv endif ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -LIBGLIB2_CONF_OPTS += -Dselinux=enabled +LIBGLIB2_CONF_OPTS += -Dselinux=enabled -Dxattr=true LIBGLIB2_DEPENDENCIES += libselinux else -LIBGLIB2_CONF_OPTS += -Dselinux=disabled +LIBGLIB2_CONF_OPTS += -Dselinux=disabled -Dxattr=false endif # Purge gdb-related files -- 2.30.2