From ededb6c8c75061ddf3d02a129166fc4f2b12e54a Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 10 Sep 2014 20:53:28 +0200 Subject: Correct SSL_RUNTIME_LIBDIR when erl_xcomp_sysroot ends with a / --- erts/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts') 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 -- cgit v1.2.3