[Buildroot] [PATCH] netsnmp: fix libnl include path in configure script

Peter Korsgaard peter at korsgaard.com
Tue Dec 13 15:26:44 UTC 2016


>>>>> "Julien" == Julien Floret <julien.floret at 6wind.com> writes:

Hi,

 >> - Change the --with-nl option so that it takes a path to the nl
 >> library.

 > Thanks for your analysis. Indeed, your proposals are much better than
 > patching the configure script on the fly ;)

 > In fact, I just saw that the issue has been addressed upstream:
 > libnl include paths & libs can now be overriden with configure environment
 > variables:
 > https://sourceforge.net/p/net-snmp/code/ci/852dcd644cfe4cfc7177649eaec163d6221f2be1/

 > So if you're ok with this, I suggest to:
 > - embed the upstream patch in package/netsnmp/
 > - trigger an autoreconf
 > - pass the right LIBNL3_{CFLAGS,LIBS} variables in NETSNMP_CONF_ENV.

Yes, sounds good, except that the last step shouldn't be needed as
pkg-config (once you add host-pkgconf to NETSNMP_DEPENDENCIES) should
return the correct values.

Thanks!

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list