[PATCH] accept different libselinux installation path
Jan Kiszka
jan.kiszka at web.de
Wed Mar 29 00:29:03 PST 2006
Rob Landley wrote:
> On Tuesday 28 March 2006 3:20 am, Jan Kiszka wrote:
>> CFLAGS=-I/usr/some/funky/path/to/selinux \
>>
>>>> LDFLAGS=-L/usr/some/funky/path/to/selinux \
>>>> make
>
> I applied the revert patch (you'll seldom find me objecting to removing
> code). :)
>
> Would anyone like to add documentation on the above somewhere? Perhaps to the
> SELINUX config help entry?
>
Something like this?
Jan
-------------- next part --------------
Index: Config.in
===================================================================
--- Config.in (revision 14683)
+++ Config.in (working copy)
@@ -139,14 +139,19 @@ config CONFIG_SELINUX
bool "Support NSA Security Enhanced Linux"
default n
help
- Enable support for SE Linux in applets ls, ps, and id. Also provide
- the option of compiling in SE Linux applets.
+ Enable support for SELinux in applets ls, ps, and id. Also provide
+ the option of compiling in SELinux applets.
- If you do not have a complete SE Linux Full Userland installed, this
- stuff will not compile. Go visit
+ If you do not have a complete SELinux userland installed, this stuff
+ will not compile. Go visit
http://www.nsa.gov/selinux/index.html
- to download the necessary stuff to allow busybox to compile with this
- option enabled.
+ to download the necessary stuff to allow busybox to compile with
+ this option enabled. Specifially, libselinux 1.28 or better is
+ directly required by busybox. If the installation is located in a
+ non-standard directory, provide it by invoking make as follows:
+ CFLAGS=-I<libselinux-include-path> \
+ LDFLAGS=-L<libselinux-lib-path> \
+ make
Most people will leave this set to 'N'.
More information about the busybox
mailing list