filelist=`sed "s/['\"]/\\\&/g"`
-# Everything requires mingw-filesystem of at least the current version
-# and mingw-runtime.
-echo 'mingw-filesystem >= @VERSION@'
-echo 'mingw-runtime'
+# Everything requires mingw32-filesystem of at least the current version
+# and mingw32-runtime.
+echo 'mingw32-filesystem >= @VERSION@'
+echo 'mingw32-runtime'
-dlls=$(echo $filelist | tr [:blank:] '\n' | grep '\.dll$')
+dlls=$(echo $filelist | tr [:blank:] '\n' | grep -Ei '\.(dll|exe)$')
for f in $dlls; do
$OBJDUMP -p $f | grep 'DLL Name' | grep -Eo '[-._[:alnum:]]+\.dll' |
tr [:upper:] [:lower:] |
- sed 's/\(.*\)/mingw(\1)/'
+ sed 's/\(.*\)/mingw32(\1)/'
done | sort -u