diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-06 10:46:36 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-06 10:46:36 +0000 |
commit | b7831b64e03e689fd34fbe19dc8c6f772df96efb (patch) | |
tree | dd4ed031655ab36a18a9b6177756a1c5d0d32667 | |
parent | 0690cff1e9ef02290fc4ba71b4f4913e1536dbae (diff) |
Issue #6628 - Disable res_snmp on incompatible platforms until
we have a resolution for the conflict. (Corydon's patch)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12011 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | res/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/res/Makefile b/res/Makefile index 031c147b7..41094ddea 100644 --- a/res/Makefile +++ b/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 |