mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
openssl: add PERLEXTERNAL path to test its existence
When upstream change is better to fail or removing the PERL5LIB if they are not need anymore. (From OE-Core rev: 2dda294698ea6bb797531cb4796af263fbf2f6be) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 337ac1159644678508990927923ef8af30f34cd7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
29ef950125
commit
8d0c51d630
@@ -137,7 +137,9 @@ do_configure () {
|
||||
fi
|
||||
# WARNING: do not set compiler/linker flags (-I/-D etc.) in EXTRA_OECONF, as they will fully replace the
|
||||
# environment variables set by bitbake. Adjust the environment variables instead.
|
||||
HASHBANGPERL="/usr/bin/env perl" PERL=perl PERL5LIB="${S}/external/perl/Text-Template-1.46/lib/" \
|
||||
PERLEXTERNAL="${S}/external/perl/Text-Template-1.46/lib"
|
||||
test -d "$PERLEXTERNAL" || bberror "PERLEXTERNAL '$PERLEXTERNAL' not found!"
|
||||
HASHBANGPERL="/usr/bin/env perl" PERL=perl PERL5LIB="$PERLEXTERNAL" \
|
||||
perl ${S}/Configure ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS} ${DEPRECATED_CRYPTO_FLAGS} --prefix=$useprefix --openssldir=${libdir}/ssl-3 --libdir=${libdir} $target
|
||||
perl ${B}/configdata.pm --dump
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user