From 02ffc2281ee855b6311be7b568275d6408643278560c9db78399833657b8cf25 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 30 Aug 2012 09:19:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=47 --- mingw64-find-requires.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 (