소스 검색

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)