From 52a9db6bb874c9ce7a8b7e935ba3ebbefdf3f7d4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 30 Mar 2007 05:44:15 +0000 Subject: introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are in the correct order --- Makefile.flags | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.flags') diff --git a/Makefile.flags b/Makefile.flags index 487300de2..e4cdc459e 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -56,15 +56,15 @@ LDFLAGS += -static endif ifeq ($(CONFIG_SELINUX),y) -LDFLAGS += -lselinux -lsepol +LDLIBS += -lselinux -lsepol endif ifeq ($(CONFIG_EFENCE),y) -LDFLAGS += -lefence +LDLIBS += -lefence endif ifeq ($(CONFIG_DMALLOC),y) -LDFLAGS += -ldmalloc +LDLIBS += -ldmalloc endif #LDFLAGS += -nostdlib -- cgit v1.2.3-55-g6feb