mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
openssl: fix libdir logic to allow multiarch style paths
The recipes were using 'basename' to turn '/usr/lib' into 'lib', which breaks when libdir is '/usr/lib/tuple', leading to libraries ending up in '/usr/tuple', which isn't in FILES_*. Change the logic to use sed to strip the prefix instead. (From OE-Core rev: e58d5521c7bae8daafdac85754545be176550a02) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dc47156387
commit
4712f75761
@@ -157,7 +157,8 @@ do_configure () {
|
||||
if [ "x$useprefix" = "x" ]; then
|
||||
useprefix=/
|
||||
fi
|
||||
perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl --libdir=`basename ${libdir}` $target
|
||||
libdirleaf="$(echo ${libdir} | sed s:$useprefix::)"
|
||||
perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl --libdir=${libdirleaf} $target
|
||||
}
|
||||
|
||||
do_compile_prepend_class-target () {
|
||||
|
||||
@@ -116,7 +116,8 @@ do_configure () {
|
||||
if [ "x$useprefix" = "x" ]; then
|
||||
useprefix=/
|
||||
fi
|
||||
perl ./Configure ${EXTRA_OECONF} --prefix=$useprefix --openssldir=${libdir}/ssl-1.1 --libdir=`basename ${libdir}` $target
|
||||
libdirleaf="$(echo ${libdir} | sed s:$useprefix::)"
|
||||
perl ./Configure ${EXTRA_OECONF} --prefix=$useprefix --openssldir=${libdir}/ssl-1.1 --libdir=${libdirleaf} $target
|
||||
}
|
||||
|
||||
#| engines/afalg/e_afalg.c: In function 'eventfd':
|
||||
|
||||
Reference in New Issue
Block a user