diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/Makefile b/res/Makefile index 08ee8e14a..bf09ffd0a 100644 --- a/res/Makefile +++ b/res/Makefile @@ -32,9 +32,9 @@ ifeq (${OSPLIB},) 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},) |