| Submitter | Enrico Scholz |
|---|---|
| Date | April 26, 2011, 10:29 a.m. |
| Message ID | <1303813776-6345-1-git-send-email-enrico.scholz@sigma-chemnitz.de> |
| Download | mbox | patch |
| Permalink | /patch/2875/ |
| State | New, archived |
| Headers | show |
Comments
On Tue, 26 Apr 2011, Enrico Scholz wrote: > 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 Could you change "lib" to "${libdir}"? For x86_64 builds my libdir is /usr/lib64. Mike
Michael Smith <msmith@cbnco.com> writes: >> - perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl $target >> + perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --libdir=lib --openssldir=${libdir}/ssl $target > > Could you change "lib" to "${libdir}"? For x86_64 builds my libdir is > /usr/lib64. ok; I will use `basename ${libdir}`. Just for interest: how did you configured the x86_64 target to use lib64 directories? By manually overriding all the *libdir variables in bitbake.conf? How well are recipes prepared to use ${*libdir} instead of static /lib? Enrico
Patch
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)}"