Fridrich Strba 2009-11-13 20:32:09 +00:00 committed by Git OBS Bridge
parent 230d37c8a3
commit bc56061f01

View File

@ -14,15 +14,13 @@ fi
filelist=`sed "s/['\"]/\\\&/g"`
# Everything requires mingw64-filesystem of at least the current version
# and mingw64-runtime.
# Everything requires mingw64-filesystem of at least the current version.
echo 'mingw64-filesystem >= @VERSION@'
echo 'mingw64-runtime'
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:] |
$OBJDUMP -p $f | grep 'DLL Name' | tr [:upper:] [:lower:] |
grep -Eo '[-._\+[:alnum:]]+\.dll' |
sed 's/\(.*\)/mingw64(\1)/'
done | sort -u