mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-04 13:21:54 +00:00 
			
		
		
		
	Issue #6628 - Disable res_snmp on incompatible platforms until
we have a resolution for the conflict. (Corydon's patch) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										11
									
								
								res/Makefile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								res/Makefile
									
									
									
									
									
								
							@@ -32,6 +32,17 @@ ifeq (${OSPLIB},)
 | 
			
		||||
  MODS:=$(filter-out res_osp.so,$(MODS))
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# NETsnmp has some difficulties on some platforms (conflict with unload_module)
 | 
			
		||||
# Until we figure out if the collission is version-specific or what to do
 | 
			
		||||
# we have disabled res_snmp on OS/X and *BSD
 | 
			
		||||
ifeq ($(OSARCH),Darwin)
 | 
			
		||||
  MODS:=$(filter-out res_snmp.so,$(MODS))
 | 
			
		||||
else
 | 
			
		||||
  ifeq ($(findstring BSD,$(OSARCH)),BSD)
 | 
			
		||||
    MODS:=$(filter-out res_snmp.so,$(MODS))
 | 
			
		||||
  endif
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/net-snmp/net-snmp-config.h),)
 | 
			
		||||
  MODS:=$(filter-out res_snmp.so,$(MODS))
 | 
			
		||||
else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user