mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 05:29:22 +00:00
net-snmp: Using the target perl
Set the PERLPROG to target perl to avoid host contamination. Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
@@ -37,6 +37,10 @@ EXTRA_OECONF = "--disable-embedded-perl \
|
||||
--with-defaults \
|
||||
${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}"
|
||||
|
||||
do_configure_prepend() {
|
||||
export PERLPROG="${bindir}/env perl"
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/snmp
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
|
||||
Reference in New Issue
Block a user