From patchwork Tue Apr 26 10:29:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: openssl: enforce libdir=lib Date: Tue, 26 Apr 2011 10:29:36 -0000 From: Enrico Scholz X-Patchwork-Id: 2875 Message-Id: <1303813776-6345-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. As OE is not multilib aware, use always a static "lib" value for libdir. 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..a2eaaa3 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=lib --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)}"