Mike Frysinger pointed out we can go
authorRob Landley <rob@landley.net>
Tue, 28 Mar 2006 19:40:15 +0000 (19:40 -0000)
committerRob Landley <rob@landley.net>
Tue, 28 Mar 2006 19:40:15 +0000 (19:40 -0000)
  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

index a70ef8cc5e8b47188dc8cd4256fbf3fc9aeb63c8..6bf91b2d6dab220e9c37bf5eef6343b01d1e5522 100644 (file)
--- 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)),)