diff --git a/util/shlib_wrap.sh b/util/shlib_wrap.sh index d744ff303d6affd6b8c50b64ded90e8895bbaf99..9416d593d2b8d48fcb4579f6718826b8813501bd 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" "$@"