added modules: codecs/mod_opus, endpoints/mod_skypopen, and event_handlers/mod_snmp...
[openwrt/svn-archive/archive.git] / net / freeswitch / patches / 008-src-mod-event_handlers-mod_snmp-Makefile.patch
1 --- a/src/mod/event_handlers/mod_snmp/Makefile
2 +++ b/src/mod/event_handlers/mod_snmp/Makefile
3 @@ -1,7 +1,10 @@
4 -include ../../../../build/modmake.rules
5 +BASE=../../../..
6 +
7 +include $(BASE)/build/modmake.rules
8 +include $(BASE)/../../../rules.mk
9 +
10 +LOCAL_CFLAGS=$(shell $(STAGING_DIR)/host/bin/net-snmp-config --cflags --agent-libs) -DNETSNMP_NO_INLINE
11
12 -LOCAL_CFLAGS=`net-snmp-config --cflags`
13 -LOCAL_LDFLAGS=`net-snmp-config --agent-libs`
14 LOCAL_OBJS=subagent.o
15
16 local_depend: $(LOCAL_OBJS)