diff options
author | Rafaël Carré <funman@videolan.org> | 2015-11-04 16:54:18 +0100 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-11-30 12:50:41 -0500 |
commit | 7fb5479fb88b7d2ea8701777869143b970c7373e (patch) | |
tree | 711134d38c3ab59d5082f500cee27c2f2fc82feb /meta-networking/recipes-protocols | |
parent | ef4b0c6c5df984b96d7cb41eaff07971abce1a83 (diff) | |
download | meta-openembedded-7fb5479fb88b7d2ea8701777869143b970c7373e.tar.gz |
net-snmp: fix cross compilation
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch new file mode 100644 index 000000000..a90ce1f62 --- /dev/null +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From e24fcd140f3f6dd18fd836b197c6d4bb773e50e7 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org> | ||
3 | Date: Wed, 4 Nov 2015 16:49:30 +0100 | ||
4 | Subject: [PATCH] config_os_headers: Error Fix | ||
5 | |||
6 | ERROR: This autoconf log indicates errors, it looked at host include | ||
7 | and/or library paths while determining system capabilities. | ||
8 | --- | ||
9 | configure.d/config_os_libs2 | 4 ++-- | ||
10 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
11 | |||
12 | diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2 | ||
13 | index 47491e2..e3647f9 100644 | ||
14 | --- a/configure.d/config_os_libs2 | ||
15 | +++ b/configure.d/config_os_libs2 | ||
16 | @@ -226,10 +226,10 @@ if test "x$with_nl" != "xno"; then | ||
17 | case $target_os in | ||
18 | linux*) # Check for libnl (linux) | ||
19 | netsnmp_save_CPPFLAGS="$CPPFLAGS" | ||
20 | - CPPFLAGS="-I/usr/include/libnl3 $CPPFLAGS" | ||
21 | + CPPFLAGS="$CPPFLAGS" | ||
22 | NETSNMP_SEARCH_LIBS(nl_connect, nl-3, | ||
23 | [AC_CHECK_HEADERS(netlink/netlink.h) | ||
24 | - EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES -I/usr/include/libnl3"], | ||
25 | + EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES"], | ||
26 | [CPPFLAGS="$netsnmp_save_CPPFLAGS"], [], [], [LMIBLIBS]) | ||
27 | if test "x$ac_cv_header_netlink_netlink_h" != xyes; then | ||
28 | NETSNMP_SEARCH_LIBS(nl_connect, nl, [ | ||
29 | -- | ||
30 | 2.5.0 | ||
31 | |||