aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl.inc
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-07-11 15:23:15 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-12 14:52:50 +0100
commit85ae421002f44f9ad6656af8fca0724a24ba4dc2 (patch)
tree846be446a4de662f0fa0c72b47969ad8408ae92a /meta/recipes-connectivity/openssl/openssl.inc
parentfe45ef3d77d963136a13687bc14165a30e170d23 (diff)
downloadopenembedded-core-contrib-85ae421002f44f9ad6656af8fca0724a24ba4dc2.tar.gz
openembedded-core-contrib-85ae421002f44f9ad6656af8fca0724a24ba4dc2.tar.bz2
openembedded-core-contrib-85ae421002f44f9ad6656af8fca0724a24ba4dc2.zip
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 Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl.inc')
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index a338f0e14a..d42ae1c5d5 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -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 () {