Mike Frysinger pointed out we can go

CFLAGS=-I/usr/some/funky/path/to/selinux \
  LDFLAGS=-L/usr/some/funky/path/to/selinux make
So Jan Kiszka reverted part of the selinux patch.
1_1_stable
Rob Landley 2006-03-28 19:40:15 +00:00
parent 92fff34de6
commit dbd91af061
1 changed files with 1 additions and 5 deletions

View File

@ -210,11 +210,7 @@ endif
ifeq ($(strip $(CONFIG_SELINUX)),y)
SELINUX_INC ?= /usr/include
SELINUX_LIB ?= /usr/lib
CFLAGS := -I$(SELINUX_INC) $(CFLAGS)
LDFLAGS := -L$(SELINUX_LIB) $(LDFLAGS)
LIBRARIES += -lselinux
LIBRARIES += -lselinux
endif
ifeq ($(strip $(PREFIX)),)