diff --git a/mingw64-find-requires.sh b/mingw64-find-requires.sh index 6979b15..502cc5d 100644 --- a/mingw64-find-requires.sh +++ b/mingw64-find-requires.sh @@ -38,6 +38,7 @@ libs_to_exclude=" msvcr90 msvcrt mswsock + netapi32 odbc32 ole32 oleaut32 @@ -63,7 +64,7 @@ for i in $libs_to_exclude; do if test "$exclude_pattern" == ""; then exclude_pattern=$i; else - exclude_pattern=$exclude_pattern"|"$i; + exclude_pattern=$exclude_pattern"|"$i; fi done @@ -76,7 +77,7 @@ for f in $dlls; do $OBJDUMP -p $f | grep 'DLL Name' | tr [:upper:] [:lower:] | grep -Eo '[-._\+[:alnum:]]+\.dll' | grep -Ev "$exclude_pattern" | - sed 's/\(.*\)/mingw64(\1)/' + sed 's/\(.*\)/mingw64(\1)/' done | sort -u (