diff options
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index fe168c3c2b..f1ac7186cd 100644 --- a/meta/recipes-connectivity/openssl/openssl.inc +++ b/meta/recipes-connectivity/openssl/openssl.inc | |||
@@ -89,7 +89,11 @@ do_configure () { | |||
89 | esac | 89 | esac |
90 | # inject machine-specific flags | 90 | # inject machine-specific flags |
91 | sed -i -e "s|^\(\"$target\",\s*\"[^:]\+\):\([^:]\+\)|\1:${CFLAG}|g" Configure | 91 | sed -i -e "s|^\(\"$target\",\s*\"[^:]\+\):\([^:]\+\)|\1:${CFLAG}|g" Configure |
92 | perl ./Configure shared --prefix=${prefix} --openssldir=${libdir}/ssl $target | 92 | useprefix=${prefix} |
93 | if [ "x$useprefix" = "x" ]; then | ||
94 | useprefix=/ | ||
95 | fi | ||
96 | perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl $target | ||
93 | } | 97 | } |
94 | 98 | ||
95 | do_compile () { | 99 | do_compile () { |