```
-pacman -S --needed base-devel mingw-w64-$(uname -m)-{toolchain,cmake,make,gtk2,gtkglext,libwebp,minizip-git} git
+pacman -S --needed base-devel mingw-w64-$(uname -m)-{ntldd-git,toolchain,cmake,make,gtk2,gtkglext,libwebp,minizip-git} git
```
Explicitely use `mingw-w64-x86_64-` or `mingw-w64-i686-` prefix if you need to target a non-default architecture.
'windows')
bundle_dir="$(cygpath --unix "${bundle_dir}")"
exe_file="$(cygpath --unix "${exe_file}")"
- ldd "${exe_file}" \
- | egrep -i '\.dll => /mingw64/' \
+ ntldd --recursive "${exe_file}" \
+ | egrep -i '\.dll => [A-Z]:\\msys64\\' \
| sed -e 's/ (0x[0-9a-f]*)$//;s/^.* => //' \
+ | cygpath --unix --file - \
| while read dll_file
do
dll_basename="$(basename "${dll_file}")"