diff --git a/res/Makefile b/res/Makefile index bf09ffd0ac371c72ae264bfb89d4399ec238eed8..031c147b7c731ffc76ecaebc1496adcfc0f36453 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},)