projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0949d30
)
Patch from Jan Kiszka: In case the libselinux development installation is not
author
Rob Landley
<rob@landley.net>
Mon, 27 Mar 2006 23:00:32 +0000
(23:00 -0000)
committer
Rob Landley
<rob@landley.net>
Mon, 27 Mar 2006 23:00:32 +0000
(23:00 -0000)
located at its default location, this patch allows to override the path via
SELINUX_INC and SELINUX_LIB when invoking make.
Rules.mak
patch
|
blob
|
history
diff --git
a/Rules.mak
b/Rules.mak
index 6bf91b2d6dab220e9c37bf5eef6343b01d1e5522..a70ef8cc5e8b47188dc8cd4256fbf3fc9aeb63c8 100644
(file)
--- a/
Rules.mak
+++ b/
Rules.mak
@@
-210,7
+210,11
@@
endif
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
ifeq ($(strip $(PREFIX)),)