diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-30 05:44:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-30 05:44:15 +0000 |
commit | 52a9db6bb874c9ce7a8b7e935ba3ebbefdf3f7d4 (patch) | |
tree | 0a00f3190ef9bc4df6e93a4a973080d53b5a66dc /Makefile.flags | |
parent | 2e723237c932f117a74ddaab66277d1a9bb29cc5 (diff) | |
download | busybox-w32-52a9db6bb874c9ce7a8b7e935ba3ebbefdf3f7d4.tar.gz busybox-w32-52a9db6bb874c9ce7a8b7e935ba3ebbefdf3f7d4.tar.bz2 busybox-w32-52a9db6bb874c9ce7a8b7e935ba3ebbefdf3f7d4.zip |
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.flags | 6 |
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 | |||
56 | endif | 56 | endif |
57 | 57 | ||
58 | ifeq ($(CONFIG_SELINUX),y) | 58 | ifeq ($(CONFIG_SELINUX),y) |
59 | LDFLAGS += -lselinux -lsepol | 59 | LDLIBS += -lselinux -lsepol |
60 | endif | 60 | endif |
61 | 61 | ||
62 | ifeq ($(CONFIG_EFENCE),y) | 62 | ifeq ($(CONFIG_EFENCE),y) |
63 | LDFLAGS += -lefence | 63 | LDLIBS += -lefence |
64 | endif | 64 | endif |
65 | 65 | ||
66 | ifeq ($(CONFIG_DMALLOC),y) | 66 | ifeq ($(CONFIG_DMALLOC),y) |
67 | LDFLAGS += -ldmalloc | 67 | LDLIBS += -ldmalloc |
68 | endif | 68 | endif |
69 | 69 | ||
70 | #LDFLAGS += -nostdlib | 70 | #LDFLAGS += -nostdlib |