Blame SOURCES/net-snmp-5.9-libnetsnmptrapd-against-MYSQL_LIBS.patch

bc6b3f
diff --git a/apps/Makefile.in b/apps/Makefile.in
bc6b3f
index d4529d3..175242b 100644
bc6b3f
--- a/apps/Makefile.in
bc6b3f
+++ b/apps/Makefile.in
bc6b3f
@@ -237,7 +237,7 @@ snmppcap$(EXEEXT):    snmppcap.$(OSUFFIX) $(USELIBS)
bc6b3f
 	$(LINK) ${CFLAGS} -o $@ snmppcap.$(OSUFFIX) ${LDFLAGS} ${LIBS} -lpcap
bc6b3f
 
bc6b3f
 libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION): $(LLIBTRAPD_OBJS)
bc6b3f
-	$(LIB_LD_CMD) $@ ${LLIBTRAPD_OBJS} $(MIBLIB) $(USELIBS) $(PERLLDOPTS_FOR_LIBS) $(LDFLAGS)
bc6b3f
+	$(LIB_LD_CMD) $@ ${LLIBTRAPD_OBJS} $(MIBLIB) $(USELIBS) $(PERLLDOPTS_FOR_LIBS) $(LIB_LD_LIBS) $(MYSQL_LIBS)
bc6b3f
 	$(RANLIB) $@
bc6b3f
 
bc6b3f
 snmpinforminstall: