From 3a1c0b9e5cb8c7cb06c6a7113826cfe8aa3c4e9d Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sun, 26 Feb 2006 23:02:40 +0000 Subject: Fix snmp build git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11212 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'res') 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},) -- cgit v1.2.3