Print this page
12312 fix unused lib dependencies
@@ -20,10 +20,11 @@
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2020 Joyent, Inc.
#
LIBRARY= audit_remote.a
VERS= .1
OBJECTS= audit_remote.o transport.o
@@ -31,11 +32,11 @@
LIBBSM= $(SRC)/lib/libbsm/common
include $(SRC)/lib/Makefile.lib
LIBS= $(DYNLIB)
-LDLIBS += -lbsm -lsecdb -lc -lnsl -lsocket -lgss -lmtmalloc
+LDLIBS += -lmtmalloc -lbsm -lsecdb -lc -lnsl -lsocket -lgss
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(LIBBSM)
CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64