aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-09-10 20:53:28 +0200
committerSverker Eriksson <[email protected]>2014-09-10 20:53:28 +0200
commitededb6c8c75061ddf3d02a129166fc4f2b12e54a (patch)
treef0304d39bad9fe3f01c7ce83c264e75975db0fce /erts/configure.in
parentdf5ecc7200c275eb4ac43b79fa2e587d571da696 (diff)
downloadotp-ededb6c8c75061ddf3d02a129166fc4f2b12e54a.tar.gz
otp-ededb6c8c75061ddf3d02a129166fc4f2b12e54a.tar.bz2
otp-ededb6c8c75061ddf3d02a129166fc4f2b12e54a.zip
Correct SSL_RUNTIME_LIBDIR when erl_xcomp_sysroot ends with a /
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 308ec0295e..ab2119f0d3 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -4461,7 +4461,7 @@ dnl so it is - be adoptable
CRYPTO_APP=crypto
SSH_APP=ssh
if test "$cross_compiling" = "yes"; then
- SSL_RUNTIME_LIBDIR=`echo "$SSL_LIBDIR" | sed -n "s|^$erl_xcomp_sysroot\(.*\)\$|\1|p"`
+ SSL_RUNTIME_LIBDIR=`echo "$SSL_LIBDIR" | sed -n "s|^$erl_xcomp_sysroot\(/*\)\(.*\)\$|/\2|p"`
else
SSL_RUNTIME_LIBDIR="$SSL_LIBDIR"
fi