[oe] [PATCH, v2] openssl: enforce libdir=lib
Koen Kooi
koen at dominion.thruhere.net
Tue Apr 26 13:50:50 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 26-04-11 14:35, Enrico Scholz wrote:
> From: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
>
> 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 <enrico.scholz at sigma-chemnitz.de>
> ---
> 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}`
Why not plain ${base_libdir}?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNts26MkyGM64RGpERAq5EAJ9BRkrtdasB0pmyg0ej5Kdz6Er2nQCfd8dm
vQ53lFJ3MAmGWl9RI+m/Ayo=
=65EV
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list