PR: 2101 (additional)
[openssl.git] / 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" "$@"