Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Busybox libselinux dependency.
@ 2015-03-22 16:02 Christopher Stone
  2015-03-22 16:21 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Stone @ 2015-03-22 16:02 UTC (permalink / raw)
  To: buildroot

If you select the selinux applets when configuring busybox then the busybox
build fails due to a missing selinux.h file. This is because there is no
dependency on libselinux in the busybox make. The lack of dependency is
completely understandable, since there is no such dependency when a user
does not configure in the selinux applets. The attached patch adds a
libselinux dependency to the busybox make when the libselinux package has
been selected for the target. It is not unreasonable to assume that if a
user selects libselinux, then he may also select the busybox selinux
applets. Additionally, if the user has already selected libselinux for the
target, then adding a dependency to libselinx to busybox does no harm, even
if the user does not configure in the selinux applet, yet the build will
not fail if the user does select those applets.

Thus, I submit the attached patch for your consideration.

Cheers,
   Chris Stone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150322/2789b1b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-libselinux-dependency.patch
Type: text/x-patch
Size: 1076 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150322/2789b1b5/attachment.bin>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-22 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-22 16:02 [Buildroot] [PATCH] Busybox libselinux dependency Christopher Stone
2015-03-22 16:21 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox