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 <aduskett@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
c72524fb1b
commit
bdbd6ab4d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user