aboutsummaryrefslogtreecommitdiff
path: root/package/netsnmp
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2015-07-21 11:47:13 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-21 14:31:54 +0200
commit3c59cfaf291f22ec96531ec1595d339c9b4aa9bd (patch)
treed9b4f47b407f650aeaa1a134ed163398a1d819e3 /package/netsnmp
parentc8a2264d2337d03f45e25a04e01de6c4178fcd5c (diff)
downloadbuildroot-3c59cfaf291f22ec96531ec1595d339c9b4aa9bd.tar.gz
buildroot-3c59cfaf291f22ec96531ec1595d339c9b4aa9bd.tar.bz2
netsnmp: fix static build
Exclude the ucd-snmp/dlmod MIB module when building statically. Fixes: http://autobuild.buildroot.net/results/782/7829e74f83c3c4a1f45e049ec9f9d6b00e002c1c/ http://autobuild.buildroot.net/results/5df/5df28482dfa3d7c54d1e4ae3e1d373bd8e9a2265/ http://autobuild.buildroot.net/results/4b7/4b7f3c15a4f4c4f4457e78767f5526c044d6dc1d/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/netsnmp')
-rw-r--r--package/netsnmp/Config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/netsnmp/Config.in b/package/netsnmp/Config.in
index 47a53d7ead..57cc6b93fd 100644
--- a/package/netsnmp/Config.in
+++ b/package/netsnmp/Config.in
@@ -31,7 +31,8 @@ config BR2_PACKAGE_NETSNMP_ENABLE_MIBS
config BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES
string "Build with these MIB modules"
- default "host ucd-snmp/dlmod agentx"
+ default "host ucd-snmp/dlmod agentx" if !BR2_STATIC_LIBS
+ default "host agentx" if BR2_STATIC_LIBS
help
Specify which MIB modules to include.