浏览代码

snmpstats: fixed path for deploying mibs when net-snmp-config is used

Daniel-Constantin Mierla 11 年之前
父节点
当前提交
777548d79f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/snmpstats/Makefile

+ 1 - 1
modules/snmpstats/Makefile

@@ -17,7 +17,7 @@ ifeq ($(BUILDER),)
 	INSTALLMIBDIR =  $(share_prefix)/share/snmp/mibs
 else
 	BUILDAGENTLIBS = $(shell net-snmp-config --netsnmp-agent-libs)
-	INSTALLMIBDIR = $(share_prefix)$(shell net-snmp-config --prefix)/share/snmp/mibs
+	INSTALLMIBDIR = $(basedir)$(shell net-snmp-config --prefix)/share/snmp/mibs
 endif 
 
 ifeq ($(EMBEDDED_PERL),1)