OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=6
This commit is contained in:
parent
230d37c8a3
commit
bc56061f01
@ -14,15 +14,13 @@ fi
|
|||||||
|
|
||||||
filelist=`sed "s/['\"]/\\\&/g"`
|
filelist=`sed "s/['\"]/\\\&/g"`
|
||||||
|
|
||||||
# Everything requires mingw64-filesystem of at least the current version
|
# Everything requires mingw64-filesystem of at least the current version.
|
||||||
# and mingw64-runtime.
|
|
||||||
echo 'mingw64-filesystem >= @VERSION@'
|
echo 'mingw64-filesystem >= @VERSION@'
|
||||||
echo 'mingw64-runtime'
|
|
||||||
|
|
||||||
dlls=$(echo $filelist | tr [:blank:] '\n' | grep -Ei '\.(dll|exe)$')
|
dlls=$(echo $filelist | tr [:blank:] '\n' | grep -Ei '\.(dll|exe)$')
|
||||||
|
|
||||||
for f in $dlls; do
|
for f in $dlls; do
|
||||||
$OBJDUMP -p $f | grep 'DLL Name' | grep -Eo '[-._\+[:alnum:]]+\.dll' |
|
$OBJDUMP -p $f | grep 'DLL Name' | tr [:upper:] [:lower:] |
|
||||||
tr [:upper:] [:lower:] |
|
grep -Eo '[-._\+[:alnum:]]+\.dll' |
|
||||||
sed 's/\(.*\)/mingw64(\1)/'
|
sed 's/\(.*\)/mingw64(\1)/'
|
||||||
done | sort -u
|
done | sort -u
|
||||||
|
Loading…
x
Reference in New Issue
Block a user