aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index e4ca7c6c5..b7711f698 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -54,4 +54,8 @@ endif
ifeq ($(CONFIG_STATIC),y)
LDFLAGS += -static
endif
+
+ifeq ($(CONFIG_SELINUX),y)
+LDFLAGS += -lselinux -lsepol
+endif
#LDFLAGS += -nostdlib