diff --git a/src/mod/event_handlers/mod_snmp/Makefile.am b/src/mod/event_handlers/mod_snmp/Makefile.am index 7c84fdd1bc..b8cd61aaf2 100644 --- a/src/mod/event_handlers/mod_snmp/Makefile.am +++ b/src/mod/event_handlers/mod_snmp/Makefile.am @@ -4,5 +4,5 @@ MODNAME=mod_snmp mod_LTLIBRARIES = mod_snmp.la mod_snmp_la_SOURCES = mod_snmp.c subagent.c mod_snmp_la_CFLAGS = $(AM_CFLAGS) `net-snmp-config --cflags` -mod_snmp_la_LIBADD = $(switch_builddir)/libfreeswitch.la -mod_snmp_la_LDFLAGS = -avoid-version -module -no-undefined -shared `net-snmp-config --agent-libs` +mod_snmp_la_LIBADD = $(switch_builddir)/libfreeswitch.la -lnetsnmpmibs -lnetsnmpagent -lnetsnmp +mod_snmp_la_LDFLAGS = -avoid-version -module -no-undefined -shared