diff options
Diffstat (limited to 'recipes/openssl')
-rw-r--r-- | recipes/openssl/openssl.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc index 2ec1d91e7a..e722db5d1a 100644 --- 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 () { |