summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 6bf91b2..a70ef8c 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -210,7 +210,11 @@ endif
ifeq ($(strip $(CONFIG_SELINUX)),y)
- LIBRARIES += -lselinux
+ SELINUX_INC ?= /usr/include
+ SELINUX_LIB ?= /usr/lib
+ CFLAGS := -I$(SELINUX_INC) $(CFLAGS)
+ LDFLAGS := -L$(SELINUX_LIB) $(LDFLAGS)
+ LIBRARIES += -lselinux
endif
ifeq ($(strip $(PREFIX)),)