[OE-core] [PATCH 4/8] mc: set ac_cv_path_PERL to /usr/bin/perl

Burton, Ross ross.burton at intel.com
Tue Mar 14 12:10:53 UTC 2017


On 14 March 2017 at 12:06, Burton, Ross <ross.burton at intel.com> wrote:

> On 14 March 2017 at 08:45, Robert Yang <liezhi.yang at windriver.com> wrote:
>
>> +CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl"
>>
>
> Would it be sensible to put this in autotools.bbclass?
>

Hang on.  ac_cv_path_PERL is the result of AC_PATH_PROG(perl) which is the
path to the perl on the host.  Is mc using this path only for writing the
hashbang into scripts?  If it tries to execute the path on the build host
then there's several ways this can fail (perl in /usr/local or with
buildtools).

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170314/499e9ab7/attachment-0002.html>


More information about the Openembedded-core mailing list