introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are in the correct order
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user