mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/libglib2: add optional dependency in libselinux
If libselinux is selected, explicitly set --enable-selinux in the
configure options and build the library first.
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8f43ec6ce8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
427742a029
commit
ed3c3f26f7
@@ -137,6 +137,13 @@ LIBGLIB2_CONF_OPTS += --with-libiconv=gnu
|
|||||||
LIBGLIB2_DEPENDENCIES += libiconv
|
LIBGLIB2_DEPENDENCIES += libiconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||||
|
LIBGLIB2_CONF_OPTS += --enable-selinux
|
||||||
|
LIBGLIB2_DEPENDENCIES += libselinux
|
||||||
|
else
|
||||||
|
LIBGLIB2_CONF_OPTS += --disable-selinux
|
||||||
|
endif
|
||||||
|
|
||||||
# Purge gdb-related files
|
# Purge gdb-related files
|
||||||
ifneq ($(BR2_PACKAGE_GDB),y)
|
ifneq ($(BR2_PACKAGE_GDB),y)
|
||||||
define LIBGLIB2_REMOVE_GDB_FILES
|
define LIBGLIB2_REMOVE_GDB_FILES
|
||||||
|
|||||||
Reference in New Issue
Block a user