[oe-commits] [openembedded-core] 23/28: openssl: pass PERL=perl environment variable to configurator

git at git.openembedded.org git at git.openembedded.org
Fri Mar 6 08:20:06 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2b087fef6820da8a6d86ca763bd7730dcac30849
Author: Ruslan Bilovol <rbilovol at cisco.com>
AuthorDate: Thu Mar 5 13:53:33 2020 +0200

    openssl: pass PERL=perl environment variable to configurator
    
    In our build environment we use wrapper script
    for perl in non-standard configuration with
    extra variables set (provided by custom
    buildtools-tarball).
    
    In this case openssl fails to build because
    by default it's Configure script detects and uses
    perl executable directly (with absolute path)
    obviously missing extra settings from wrapper
    script.
    
    Pass PERL=perl environment variable to Configure,
    so it won't try to use perl executable directly
    but will use what is provided from environment.
    
    Signed-off-by: Ruslan Bilovol <rbilovol at cisco.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb
index c2ba005..d4871fe 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 () {
 	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.
-	PERL5LIB="${S}/external/perl/Text-Template-1.46/lib/" \
+	PERL=perl PERL5LIB="${S}/external/perl/Text-Template-1.46/lib/" \
 	perl ${S}/Configure ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS} --prefix=$useprefix --openssldir=${libdir}/ssl-1.1 --libdir=${libdir} $target
 	perl ${B}/configdata.pm --dump
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list