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:
parent
0949d30638
commit
164a5be04e
@ -210,7 +210,11 @@ endif
|
|||||||
|
|
||||||
|
|
||||||
ifeq ($(strip $(CONFIG_SELINUX)),y)
|
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
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(PREFIX)),)
|
ifeq ($(strip $(PREFIX)),)
|
||||||
|
Loading…
Reference in New Issue
Block a user