From d60d45ed33bdc8f61938b5fbc3abb6765e556a64 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Allow '.' in dll names for find-requires --- filesystem/mingw-find-requires.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1