diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-26 23:02:40 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-26 23:02:40 +0000 |
commit | 60a22a1050051bba9dfc83669b000cf23e2dd22d (patch) | |
tree | 90a1b3a8e8e0a7ffcbec3904ce039ae4f92ff496 /res/Makefile | |
parent | 9dc45031753b6c466b322dd105af10a156c11eaa (diff) |
Fix snmp build
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11212 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/Makefile')
-rw-r--r-- | res/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/Makefile b/res/Makefile index 08ee8e14a..bf09ffd0a 100644 --- a/res/Makefile +++ b/res/Makefile @@ -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},) |