From 2156704924e56928af0b87ddf10cf29e9425c072 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 15 Nov 2009 19:06:21 +0000 Subject: [PATCH] PR: 2101 (additional) Submitted by: Roumen Petrov Approved by: steve@openssl.org Another mingw fix. --- util/shlib_wrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/shlib_wrap.sh b/util/shlib_wrap.sh index d744ff303..9416d593d 100755 --- a/util/shlib_wrap.sh +++ b/util/shlib_wrap.sh @@ -88,4 +88,6 @@ if [ -f "$LIBCRYPTOSO" -a -z "$preload_var" ]; then export LD_PRELOAD _RLD_LIST DYLD_INSERT_LIBRARIES fi -exec "$@" +cmd="$1${EXE_EXT}" +shift +exec "$cmd" "$@"