diff options
Diffstat (limited to 'patches/busybox-1.24.2/0202-build-system-only-pass-real-libs-to-SELINUX_LIBS.patch')
-rw-r--r-- | patches/busybox-1.24.2/0202-build-system-only-pass-real-libs-to-SELINUX_LIBS.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/busybox-1.24.2/0202-build-system-only-pass-real-libs-to-SELINUX_LIBS.patch b/patches/busybox-1.24.2/0202-build-system-only-pass-real-libs-to-SELINUX_LIBS.patch new file mode 100644 index 000000000..d3027e0c2 --- /dev/null +++ b/patches/busybox-1.24.2/0202-build-system-only-pass-real-libs-to-SELINUX_LIBS.patch @@ -0,0 +1,23 @@ +From: Marc Kleine-Budde <mkl@pengutronix.de> +Date: Mon, 28 Jan 2013 14:21:07 +0100 +Subject: [PATCH] build system: only pass real libs to SELINUX_LIBS + +The busybox make system will fail otherwise. + +Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> +--- + Makefile.flags | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.flags b/Makefile.flags +index 307afa7f5212..d68c9c4e97c6 100644 +--- a/Makefile.flags ++++ b/Makefile.flags +@@ -141,6 +141,7 @@ ifeq ($(CONFIG_SELINUX),y) + SELINUX_PC_MODULES = libselinux libsepol + $(eval $(call pkg_check_modules,SELINUX,$(SELINUX_PC_MODULES))) + CPPFLAGS += $(SELINUX_CFLAGS) ++SELINUX_LIBS := $(filter -l%,$(SELINUX_LIBS)) + LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%)) + endif + |