c85f62ce4766e82807c8084a5c8f5f43d0517cb6
[packages.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)/build/openwrt_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)