net-snmp: disable libnl use
authorSteffen Sledz <sledz@dresearch.de>
Fri, 11 Mar 2011 10:59:34 +0000 (11:59 +0100)
committerSteffen Sledz <sledz@dresearch.de>
Tue, 15 Mar 2011 07:08:46 +0000 (08:08 +0100)
Fixes compile error

| ./.libs/libnetsnmpmibs.so: undefined reference to `nl_handle_destroy'
| ./.libs/libnetsnmpmibs.so: undefined reference to `nl_handle_alloc'

which occurred sometimes depending on build order (not in clean package
only builds).

Signed-off-by: Steffen Sledz <sledz@dresearch.de>
Acked-by: Khem Raj <raj.khem@gmail.com>
recipes/net-snmp/net-snmp_svn.bb

index 2a75722..c53c91f 100644 (file)
@@ -1,7 +1,7 @@
 require net-snmp.inc
 DEPENDS += "libtool libtool-native libtool-cross"
 SRCREV = "20069"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 S = "${WORKDIR}/net-snmp"
 
@@ -10,7 +10,7 @@ SRC_URI = "svn://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk;module=net-
         file://snmpd.conf \
         file://snmptrapd.conf"
 
-EXTRA_OECONF += "--disable-embedded-perl --with-perl-modules=no GREP=/bin/grep SED=/bin/sed"
+EXTRA_OECONF += "--disable-embedded-perl --with-perl-modules=no --without-nl GREP=/bin/grep SED=/bin/sed"
 EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"
 
 CCACHE = ""