X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=filesystem%2Fmingw-find-requires.sh;h=6b9848af5c623b82b1c6b4492e15935126c7565f;hb=4b3e82cf20a9374a8554592ae99da7fcd54d76be;hp=6516500c0e98d0ee64a212094cc17f438369e8f4;hpb=884e4ad1b8b9ad920e0a08b9822feb617b934aac;p=fedora-mingw.git diff --git a/filesystem/mingw-find-requires.sh b/filesystem/mingw-find-requires.sh index 6516500..6b9848a 100755 --- a/filesystem/mingw-find-requires.sh +++ b/filesystem/mingw-find-requires.sh @@ -22,7 +22,7 @@ echo 'mingw-runtime' dlls=$(echo $filelist | tr [:blank:] '\n' | grep '\.dll$') for f in $dlls; do - $OBJDUMP -p $f | grep 'DLL Name' | grep -Eo '[-_[:alnum:]]+\.dll' | + $OBJDUMP -p $f | grep 'DLL Name' | grep -Eo '[-._[:alnum:]]+\.dll' | tr [:upper:] [:lower:] | sed 's/\(.*\)/mingw(\1)/' done | sort -u