[asterisk-commits] trunk r11212 - /trunk/res/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Feb 26 16:02:41 MST 2006


Author: markster
Date: Sun Feb 26 17:02:40 2006
New Revision: 11212

URL: http://svn.digium.com/view/asterisk?rev=11212&view=rev
Log:
Fix snmp build

Modified:
    trunk/res/Makefile

Modified: trunk/res/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/res/Makefile?rev=11212&r1=11211&r2=11212&view=diff
==============================================================================
--- trunk/res/Makefile (original)
+++ trunk/res/Makefile Sun Feb 26 17:02:40 2006
@@ -32,9 +32,9 @@
   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},)



More information about the asterisk-commits mailing list