4 dlls=$(strings $1 | grep '\.dll' | grep -v '\(USER32\|KERNEL32\|msvcrt\)')
6 gccver=$(i686-w64-mingw32-gcc -dumpversion | awk -F . '{ print $1 "." $2 }')
8 libpaths="/usr/i686-w64-mingw32/lib \
9 /usr/i686-w64-mingw32/bin \
10 /usr/lib/gcc/i686-w64-mingw32/$gccver-win32"
13 for path in $libpaths; do
15 if [ -f $dllfile ]; then
17 if [ ! "$2" = noreq ]; then
18 depends $dllfile noreq
25 depends game.exe | sort | uniq