[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH 2/3] build system: only pass real libs to SELINUX_LIBS
From:       Marc Kleine-Budde <mkl () pengutronix ! de>
Date:       2015-06-10 9:26:56
Message-ID: 1433928417-14153-2-git-send-email-mkl () pengutronix ! de
[Download RAW message or body]

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 a1ed1480af9c..891546451fbc 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
 
-- 
2.1.4

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic