Skip to content
Snippets Groups Projects
Commit 3a1c0b9e authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix snmp build

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 6a86c7c5
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,9 @@ ifeq (${OSPLIB},)
MODS:=$(filter-out res_osp.so,$(MODS))
endif
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/net-snmp/net-snmp-config.h),)
SNMP_LDLIBS+=$(shell net-snmp-config --agent-libs)
MODS+=res_snmp.so
ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/net-snmp/net-snmp-config.h),)
SNMP_LDLIBS+=$(shell net-snmp-config --agent-libs)
MODS:=$(filter-out res_snmp.so,$(MODS))
endif
ifeq (${WITH_SMDI},)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment