aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-30 05:44:15 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-30 05:44:15 +0000
commit52a9db6bb874c9ce7a8b7e935ba3ebbefdf3f7d4 (patch)
tree0a00f3190ef9bc4df6e93a4a973080d53b5a66dc /Makefile.flags
parent2e723237c932f117a74ddaab66277d1a9bb29cc5 (diff)
downloadbusybox-52a9db6bb874c9ce7a8b7e935ba3ebbefdf3f7d4.tar.gz
introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are in the correct order
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags6
1 files changed, 3 insertions, 3 deletions
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