summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-25 16:29:47 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-25 16:29:47 +0000
commitc99e270696c93c481c98fc2d148419b5fef98c8d (patch)
tree998a5cbd09509c2774fce76af76866d921345a0f /sys-apps/busybox/files
parentInitial import, thanks to Rafal Boniecki, bug #164398 (diff)
downloadhistorical-c99e270696c93c481c98fc2d148419b5fef98c8d.tar.gz
historical-c99e270696c93c481c98fc2d148419b5fef98c8d.tar.bz2
historical-c99e270696c93c481c98fc2d148419b5fef98c8d.zip
Fix linking with selinux libs #160879.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sys-apps/busybox/files')
-rw-r--r--sys-apps/busybox/files/1.4.0/selinux-link.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/busybox/files/1.4.0/selinux-link.patch b/sys-apps/busybox/files/1.4.0/selinux-link.patch
new file mode 100644
index 000000000000..b2e69e4ac025
--- /dev/null
+++ b/sys-apps/busybox/files/1.4.0/selinux-link.patch
@@ -0,0 +1,11 @@
+--- busybox-1.4.2/Makefile.flags
++++ busybox-1.4.2/Makefile.flags
+@@ -28,4 +28,8 @@
+ ifeq ($(CONFIG_STATIC),y)
+ LDFLAGS += -static
+ endif
++
++ifeq ($(CONFIG_SELINUX),y)
++LDFLAGS += -lselinux -lsepol
++endif
+ #LDFLAGS += -nostdlib