From patchwork Tue Apr 26 12:35:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v2] openssl: enforce libdir=lib Date: Tue, 26 Apr 2011 12:35:03 -0000 From: Enrico Scholz X-Patchwork-Id: 2885 Message-Id: <1303821303-447-1-git-send-email-enrico.scholz@sigma-chemnitz.de> To: openembedded-devel@lists.openembedded.org Cc: Enrico Scholz , Enrico Scholz From: Enrico Scholz openssl tries to detect multlib environments and assigns libdir=lib64 e.g. for x86_64 targets. This breaks OE assumptions about the location of pkgconfig files and causes build failures. Patch gives the directory name to openssl which is used as libdir by OE. Signed-off-by: Enrico Scholz --- recipes/openssl/openssl.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc index 24b517d..b029f3b 100644 --- a/recipes/openssl/openssl.inc +++ b/recipes/openssl/openssl.inc @@ -97,7 +97,7 @@ do_configure () { if [ "x$useprefix" = "x" ]; then useprefix=/ fi - perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl $target + perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --libdir=`basename ${libdir}` --openssldir=${libdir}/ssl $target eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "/_FILE_OFFSET_BITS/,/#endif/d" ${S}/crypto/bio/bss_file.c', d)}" eval "${@base_contains('DISTRO_FEATURES', 'ipv6', '', 'sed -i -e "/AF_INET6/,/break/d" ${S}/crypto/bio/bss_dgram.c', d)}"