Patch from Jan Kiszka: In case the libselinux development installation is not

located at its default location, this patch allows to override the path via
SELINUX_INC and SELINUX_LIB when invoking make.
This commit is contained in:
Rob Landley 2006-03-27 23:00:32 +00:00
parent 0949d30638
commit 164a5be04e

View File

@ -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)),)