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>
This commit is contained in:
parent
1b4bd1b659
commit
124b3ea99b
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue