git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae82ac2
)
openssl: avoid empty PREFIX since this causes Configure to do the wrong thing
author
Phil Blundell
<philb@gnu.org>
Sat, 13 Jun 2009 09:27:05 +0000
(10:27 +0100)
committer
Phil Blundell
<philb@gnu.org>
Sat, 13 Jun 2009 09:27:05 +0000
(10:27 +0100)
recipes/openssl/openssl.inc
patch
|
blob
|
history
diff --git
a/recipes/openssl/openssl.inc
b/recipes/openssl/openssl.inc
index
2ec1d91
..
e722db5
100644
(file)
--- a/
recipes/openssl/openssl.inc
+++ b/
recipes/openssl/openssl.inc
@@
-73,7
+73,11
@@
do_configure () {
esac
# inject machine-specific flags
sed -i -e "s|^\(\"$target\",\s*\"[^:]\+\):\([^:]\+\)|\1:${CFLAG}|g" Configure
- perl ./Configure shared --prefix=${prefix} --openssldir=${libdir}/ssl $target
+ useprefix=${prefix}
+ if [ "x$useprefix" == "x" ]; then
+ useprefix=/
+ fi
+ perl ./Configure shared --prefix=$useprefix --openssldir=${libdir}/ssl $target
}
do_compile () {