diff options
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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)),) |