From: Adam Duskett Date: Sat, 1 May 2021 19:56:19 +0000 (-0700) Subject: package/libglib2: add -Dxattr=true when libselinux is selected X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdbd6ab4d031b03fe68c656ab91d82dba9e208c6;p=buildroot.git 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 --- 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