aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/Makefile b/res/Makefile
index bf09ffd0a..031c147b7 100644
--- a/res/Makefile
+++ b/res/Makefile
@@ -33,8 +33,9 @@ ifeq (${OSPLIB},)
endif
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))
+else
+ SNMP_LDLIBS+=$(shell net-snmp-config --agent-libs)
endif
ifeq (${WITH_SMDI},)