From dbd91af0613652f37ddb04e47b9bca3411ae7526 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 28 Mar 2006 19:40:15 +0000 Subject: 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. --- Rules.mak | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Rules.mak b/Rules.mak index a70ef8cc5..6bf91b2d6 100644 --- a/Rules.mak +++ b/Rules.mak @@ -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)),) -- cgit v1.2.3