diff --git a/rules/snmpd.mk b/rules/snmpd.mk index db85ca0d94a9..b7635cc7e032 100644 --- a/rules/snmpd.mk +++ b/rules/snmpd.mk @@ -7,6 +7,8 @@ export SNMPD_VERSION SNMPD_VERSION_FULL LIBSNMP_BASE = libsnmp-base_$(SNMPD_VERSION_FULL)_all.deb $(LIBSNMP_BASE)_SRC_PATH = $(SRC_PATH)/snmpd +$(LIBSNMP_BASE)_DEPENDS += $(LIBNL3_DEV) +$(LIBSNMP_BASE)_RDEPENDS += $(LIBNL3) SONIC_MAKE_DEBS += $(LIBSNMP_BASE) SNMPTRAPD = snmptrapd_$(SNMPD_VERSION_FULL)_amd64.deb