Skip to contentSkip to conversation

netsnmp: fix static build

PATCH New Baruch Siach 2 participants 2 messages Jul 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/netsnmp/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/netsnmp/Config.in +2 -1
index 47a53d7ead2f..57cc6b93fd25 100644
@@ -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.
 
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 netsnmp: fix static build

Dear Baruch Siach,

Quoted 11 lines · Baruch Siach

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/

---
 package/netsnmp/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com