On 03/14/2017 08:10 PM, Burton, Ross wrote:

On 14 March 2017 at 12:06, Burton, Ross <[email protected]
<mailto:[email protected]>> wrote:

    On 14 March 2017 at 08:45, Robert Yang <[email protected]
    <mailto:[email protected]>> 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).

Hi Ross,

The automake and autoconf had already set this:

CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl"

So I set it for mc referred to them, should we use "#!/usr/bin/env perl" here ?

// Robert


Ross

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to