PR: 2101 (additional)
authorDr. Stephen Henson <steve@openssl.org>
Sun, 15 Nov 2009 19:06:21 +0000 (19:06 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 15 Nov 2009 19:06:21 +0000 (19:06 +0000)
Submitted by: Roumen Petrov <openssl@roumenpetrov.info>
Approved by: steve@openssl.org

Another mingw fix.

util/shlib_wrap.sh

index d744ff303d6affd6b8c50b64ded90e8895bbaf99..9416d593d2b8d48fcb4579f6718826b8813501bd 100755 (executable)
@@ -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" "$@"