mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-28 22:54:14 +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:
parent
2e7f3ce93b
commit
b9ad53ccce
@ -37,6 +37,10 @@ EXTRA_OECONF = "--disable-embedded-perl \
|
|||||||
--with-defaults \
|
--with-defaults \
|
||||||
${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}"
|
${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}"
|
||||||
|
|
||||||
|
do_configure_prepend() {
|
||||||
|
export PERLPROG="${bindir}/env perl"
|
||||||
|
}
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/snmp
|
install -d ${D}${sysconfdir}/snmp
|
||||||
install -d ${D}${sysconfdir}/init.d
|
install -d ${D}${sysconfdir}/init.d
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user