diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-04-10 22:16:51 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-11 18:10:18 +0100 |
commit | 124b3ea99b0c45e891dc2f01235e315871756b49 (patch) | |
tree | 298fdf2a776ad2964f96d2a43636f12582361416 /meta/recipes-connectivity/openssl | |
parent | 1b4bd1b659dca55ebe831bf1378adfc68cfb6f5f (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl.inc | 4 |
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 | ||
206 | do_install_ptest () { | 206 | do_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} |