diff options
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -210,7 +210,11 @@ endif | |||
210 | 210 | ||
211 | 211 | ||
212 | ifeq ($(strip $(CONFIG_SELINUX)),y) | 212 | ifeq ($(strip $(CONFIG_SELINUX)),y) |
213 | LIBRARIES += -lselinux | 213 | SELINUX_INC ?= /usr/include |
214 | SELINUX_LIB ?= /usr/lib | ||
215 | CFLAGS := -I$(SELINUX_INC) $(CFLAGS) | ||
216 | LDFLAGS := -L$(SELINUX_LIB) $(LDFLAGS) | ||
217 | LIBRARIES += -lselinux | ||
214 | endif | 218 | endif |
215 | 219 | ||
216 | ifeq ($(strip $(PREFIX)),) | 220 | ifeq ($(strip $(PREFIX)),) |