diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2020-03-07 14:30:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-08 08:21:11 +0000 |
commit | 1477b31a0dc64b451e993d8cc5b0f8511587ab9e (patch) | |
tree | 08238bf1d154c81c7f4cb9012954d16a414a9023 /meta/recipes-connectivity | |
parent | 09e1c01162c2faa204f3b7f9abf6f7b1c4e9274c (diff) | |
download | poky-1477b31a0dc64b451e993d8cc5b0f8511587ab9e.tar.gz |
openssl: fix perl shebang in c_rehash
* passing PERL=perl breaks c_rehash calls from dash (works fine with bash)
dash doesn't like
#!perl
shebang
PERL="/usr/bin/env perl"
unfortunately just passing PERL like this doesn't pass do_configure:
Creating Makefile
sh: 1: /usr/bin/env perl: not found
WARNING: exit code 1 from a shell command.
But passing it as:
HASHBANGPERL="/usr/bin/env perl" PERL=perl
seems to work.
(From OE-Core rev: 79350826396a882d115caafd88b0a49c91a4fa6c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb index a429b0a980..4653d8ab9d 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | |||
@@ -123,7 +123,7 @@ do_configure () { | |||
123 | fi | 123 | fi |
124 | # WARNING: do not set compiler/linker flags (-I/-D etc.) in EXTRA_OECONF, as they will fully replace the | 124 | # WARNING: do not set compiler/linker flags (-I/-D etc.) in EXTRA_OECONF, as they will fully replace the |
125 | # environment variables set by bitbake. Adjust the environment variables instead. | 125 | # environment variables set by bitbake. Adjust the environment variables instead. |
126 | PERL=perl PERL5LIB="${S}/external/perl/Text-Template-1.46/lib/" \ | 126 | HASHBANGPERL="/usr/bin/env perl" PERL=perl PERL5LIB="${S}/external/perl/Text-Template-1.46/lib/" \ |
127 | perl ${S}/Configure ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS} --prefix=$useprefix --openssldir=${libdir}/ssl-1.1 --libdir=${libdir} $target | 127 | perl ${S}/Configure ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS} --prefix=$useprefix --openssldir=${libdir}/ssl-1.1 --libdir=${libdir} $target |
128 | perl ${B}/configdata.pm --dump | 128 | perl ${B}/configdata.pm --dump |
129 | } | 129 | } |