]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
netsnmp: handle libnl dependency properly
authorJulien Floret <julien.floret@6wind.com>
Wed, 14 Dec 2016 08:26:48 +0000 (09:26 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 14 Dec 2016 09:13:13 +0000 (10:13 +0100)
commit2c410189bfd843be62b35dd3f5796726cdf5db2a
treefd65aa78883d0251eb32da887100a2a00e7e1394
parent91b8d74c023157b1755f9fa208df3463744c9751
netsnmp: handle libnl dependency properly

libnl3 include path was hardcoded in the configure script,
causing the following gcc warning:

WARNING: unsafe header/library path used in cross-compilation:
'/usr/include/libnl3'

Let's apply an upstream patch that addresses the issue: now
pkg-config is used to detect libnl include path.

Also:
- add optional libnl build dependency;
- enable libnl support only when libnl package is selected.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/netsnmp/0001-configure-Eliminate-the-hard-coded-libnl-3-include-p.patch [new file with mode: 0644]
package/netsnmp/netsnmp.mk