summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-08-24 17:16:16 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-24 08:58:13 -0700
commit2511a25226b2b700111bdf431aa7206ce35fe24f (patch)
tree67141d23a8a6ded78fe7d6a89a02235261d359dd /meta-networking/recipes-protocols
parent6782e58cd66b80b980105be542097b2a1faf86b3 (diff)
downloadmeta-openembedded-2511a25226b2b700111bdf431aa7206ce35fe24f.tar.gz
net-snmp: Fix host contamination
If "/usr/local/ssl/include" directory exists on the host machine, net-snmp will also search the host openssl headers: x86_64-wrs-linux-libtool: compile: x86_64-wrs-linux-gcc ... -I/usr/local/ssl/include Fix this by selecting the proper sysroot headers using --with-openssl=${STAGING_EXECPREFIXDIR} Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
index 413f033f8..779e5cd2d 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
@@ -56,6 +56,7 @@ EXTRA_OECONF = "--enable-shared \
56 --with-install-prefix=${D} \ 56 --with-install-prefix=${D} \
57 --with-persistent-directory=${localstatedir}/lib/net-snmp \ 57 --with-persistent-directory=${localstatedir}/lib/net-snmp \
58 ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \ 58 ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \
59 --with-openssl=${STAGING_EXECPREFIXDIR} \
59" 60"
60 61
61# net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp 62# net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp