summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl.inc
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:10:18 +0100
commit124b3ea99b0c45e891dc2f01235e315871756b49 (patch)
tree298fdf2a776ad2964f96d2a43636f12582361416 /meta/recipes-connectivity/openssl/openssl.inc
parent1b4bd1b659dca55ebe831bf1378adfc68cfb6f5f (diff)
downloadpoky-124b3ea99b0c45e891dc2f01235e315871756b49.tar.gz
openssl: fix the reference to native perl in ptests
This was causing a couple of ptest failures. [YOCTO #10840] (From OE-Core rev: 2e8e72790d3cc3236b6a785f3e04702e71e1ac3f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl.inc')
-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 () {
205 205
206do_install_ptest () { 206do_install_ptest () {
207 cp -r -L Makefile.org Makefile test ${D}${PTEST_PATH} 207 cp -r -L Makefile.org Makefile test ${D}${PTEST_PATH}
208
209 # Replace the path to native perl with the path to target perl
210 sed -i 's,^PERL=.*,PERL=${bindir}/perl,' ${D}${PTEST_PATH}/Makefile
211
208 cp Configure config e_os.h ${D}${PTEST_PATH} 212 cp Configure config e_os.h ${D}${PTEST_PATH}
209 cp -r -L include ${D}${PTEST_PATH} 213 cp -r -L include ${D}${PTEST_PATH}
210 ln -sf ${libdir}/libcrypto.a ${D}${PTEST_PATH} 214 ln -sf ${libdir}/libcrypto.a ${D}${PTEST_PATH}