From c99e270696c93c481c98fc2d148419b5fef98c8d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 25 Mar 2007 16:29:47 +0000 Subject: Fix linking with selinux libs #160879. Package-Manager: portage-2.1.2.2 --- sys-apps/busybox/files/1.4.0/selinux-link.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sys-apps/busybox/files/1.4.0/selinux-link.patch (limited to 'sys-apps/busybox/files') 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 -- cgit v1.2.3-65-gdbad