openssl: fix for non /usr/lib libdir case

if libdir is not /usr/lib, e.g /usr/lib64, openssl build will fail
because it still use /usr/lib as library dir.

this patch appends the configure option "--libdir" to specify the correct
library directory

(From OE-Core rev: 85ae421002f44f9ad6656af8fca0724a24ba4dc2)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yu Ke 2011-07-11 15:23:15 +08:00 committed by Richard Purdie
parent e90b231562
commit 58ad25bc43
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,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 --openssldir=${libdir}/ssl --libdir=`basename ${libdir}` $target
}
do_compile () {

View File

@ -1,6 +1,6 @@
require openssl.inc
PR = "r1"
PR = "r2"
SRC_URI += "file://debian/ca.patch \
file://debian/config-hurd.patch;apply=no \
file://debian/debian-targets.patch \