diff --git a/src/mod/event_handlers/mod_snmp/Makefile.am b/src/mod/event_handlers/mod_snmp/Makefile.am
index b8cd61aaf2..e949e9ad9e 100644
--- a/src/mod/event_handlers/mod_snmp/Makefile.am
+++ b/src/mod/event_handlers/mod_snmp/Makefile.am
@@ -3,6 +3,6 @@ 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_CFLAGS   = $(AM_CFLAGS)
 mod_snmp_la_LIBADD   = $(switch_builddir)/libfreeswitch.la -lnetsnmpmibs -lnetsnmpagent -lnetsnmp
 mod_snmp_la_LDFLAGS  = -avoid-version -module -no-undefined -shared