summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-04-10 22:16:51 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-11 18:09:20 +0100
commit2e8e72790d3cc3236b6a785f3e04702e71e1ac3f (patch)
treeb594c1ec653351e209485f372444edb7c2d8fa9f /meta
parent27a5883e8ae01e69f5425efe8b035bea7087b2f9 (diff)
downloadopenembedded-core-2e8e72790d3cc3236b6a785f3e04702e71e1ac3f.tar.gz
openembedded-core-2e8e72790d3cc3236b6a785f3e04702e71e1ac3f.tar.bz2
openembedded-core-2e8e72790d3cc3236b6a785f3e04702e71e1ac3f.zip
openssl: fix the reference to native perl in ptests
This was causing a couple of ptest failures. [YOCTO #10840] Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 481a444560..c721d8c570 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -205,6 +205,10 @@ do_install () {
do_install_ptest () {
cp -r -L Makefile.org Makefile test ${D}${PTEST_PATH}
+
+ # Replace the path to native perl with the path to target perl
+ sed -i 's,^PERL=.*,PERL=${bindir}/perl,' ${D}${PTEST_PATH}/Makefile
+
cp Configure config e_os.h ${D}${PTEST_PATH}
cp -r -L include ${D}${PTEST_PATH}
ln -sf ${libdir}/libcrypto.a ${D}${PTEST_PATH}