Print this page
12312 fix unused lib dependencies

*** 20,29 **** --- 20,31 ---- # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright 2020 Joyent, Inc. + # LIBRARY = libfmd_snmp.a VERS = .1 LIBSRCS = \
*** 49,60 **** CPPFLAGS += -I../common -I. $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS) CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS) ! SNMPLIBS = -lnetsnmp -lnetsnmphelpers -lnetsnmpagent ! NATIVE_LIBS += libnetsnmp.so libnetsnmphelpers.so libnetsnmpagent.so LDLIBS += $(MACH_LDLIBS) LDLIBS += -lfmd_adm -luutil -lnvpair -ltopo LDLIBS += $(SNMPLIBS) LDLIBS += -lc --- 51,62 ---- CPPFLAGS += -I../common -I. $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS) CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS) ! SNMPLIBS = -lnetsnmp -lnetsnmpagent ! NATIVE_LIBS += libnetsnmp.so libnetsnmpagent.so LDLIBS += $(MACH_LDLIBS) LDLIBS += -lfmd_adm -luutil -lnvpair -ltopo LDLIBS += $(SNMPLIBS) LDLIBS += -lc