From: Alexander Kanavin Date: Mon, 10 Apr 2017 19:16:51 +0000 (+0300) Subject: openssl: fix the reference to native perl in ptests X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~21675 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e8e72790d3cc3236b6a785f3e04702e71e1ac3f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git openssl: fix the reference to native perl in ptests This was causing a couple of ptest failures. [YOCTO #10840] Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index 481a4445605..c721d8c570d 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}