Index: Config.in =================================================================== --- Config.in (revision 18744) +++ Config.in (working copy) @@ -238,6 +238,14 @@ Most people will leave this set to 'N'. +config SELINUX_SEPOL + bool "Link libsepol" + depends on SELINUX + default n + help + Link libsepol. libsepol have functions to analyze policy of SELinux. + Most of applets do not use this. If you need to link it, set Y. + config FEATURE_PREFER_APPLETS bool "exec prefers applets" default n Index: Makefile.flags =================================================================== --- Makefile.flags (revision 18744) +++ Makefile.flags (working copy) @@ -56,9 +56,13 @@ endif ifeq ($(CONFIG_SELINUX),y) -LDLIBS += -lselinux -lsepol +LDLIBS += -lselinux endif +ifeq ($(CONFIG_SELINUX_SEPOL),y) +LDLIBS += -lsepol +endif + ifeq ($(CONFIG_EFENCE),y) LDLIBS += -lefence endif