aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-27 23:00:32 +0000
committerRob Landley <rob@landley.net>2006-03-27 23:00:32 +0000
commit164a5be04ebe59c9b5e0df97faa2543b8af2d7e8 (patch)
treecd878cfeccc8cc303777074364ab1d453eb12b6f
parent0949d306388937e73f1f1f1686997d477fea33ef (diff)
downloadbusybox-w32-164a5be04ebe59c9b5e0df97faa2543b8af2d7e8.tar.gz
busybox-w32-164a5be04ebe59c9b5e0df97faa2543b8af2d7e8.tar.bz2
busybox-w32-164a5be04ebe59c9b5e0df97faa2543b8af2d7e8.zip
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.
-rw-r--r--Rules.mak6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 6bf91b2d6..a70ef8cc5 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -210,7 +210,11 @@ endif
210 210
211 211
212ifeq ($(strip $(CONFIG_SELINUX)),y) 212ifeq ($(strip $(CONFIG_SELINUX)),y)
213 LIBRARIES += -lselinux 213 SELINUX_INC ?= /usr/include
214 SELINUX_LIB ?= /usr/lib
215 CFLAGS := -I$(SELINUX_INC) $(CFLAGS)
216 LDFLAGS := -L$(SELINUX_LIB) $(LDFLAGS)
217 LIBRARIES += -lselinux
214endif 218endif
215 219
216ifeq ($(strip $(PREFIX)),) 220ifeq ($(strip $(PREFIX)),)