]> code.ossystems Code Review - openembedded-core.git/commit
adt_installer_internal:fix perl lib version mismatch
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 26 Jun 2013 04:38:47 +0000 (12:38 +0800)
committerSaul Wold <sgw@linux.intel.com>
Thu, 27 Jun 2013 16:55:58 +0000 (09:55 -0700)
commit487d1fa7b79e89518494986461c157bace842613
tree12744696de11c43988d4c4f7af938418a3d3ddc0
parent7cfab2c895bf4daa7716fb7509e367bf74f016e4
adt_installer_internal:fix perl lib version mismatch

When run "autoreconf" in toolchain, there is an error if the host's perl's
version is not the same as the one in the SDK, the error says that the
executable perl mismatches the perl lib's version.

This is because most of the autotools' scripts use the "#!/usr/bin/perl -w"
which is host perl, but the gnu-configize uses "#! /usr/bin/env perl" which
invokes the perl wrapper in the SDK, and the wrapper will set the PERL5LIB to
the SDK which causes the mismatch. We can make all the perl scripts to use the
host perl or the SDK perl to fix this problem.

[YOCTO #4758]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal