summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rwxr-xr-xcompat/windows/makedef8
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/windows/makedef b/compat/windows/makedef
index fcaf108332..b3de99255c 100755
--- a/compat/windows/makedef
+++ b/compat/windows/makedef
@@ -112,7 +112,10 @@ for line in $(cat ${vscript} | tr '\t' ' '); do
'
done
-dump=$(dumpbin -linkermember:1 ${libname})
+dump=$(dumpbin -linkermember:1 ${libname} |
+ sed -e '/public symbols/,$!d' -e '/^ \{1,\}Summary/,$d' -e "s/ \{1,\}${prefix}/ /" -e 's/ \{1,\}/ /g' |
+ tail -n +2 |
+ cut -d' ' -f3)
rm ${libname}
@@ -121,9 +124,6 @@ list=""
for exp in ${regex}; do
list="${list}"'
'$(echo "${dump}" |
- sed -e '/public symbols/,$!d' -e '/^ \{1,\}Summary/,$d' -e "s/ \{1,\}${prefix}/ /" -e 's/ \{1,\}/ /g' |
- tail -n +2 |
- cut -d' ' -f3 |
grep "^${exp}" |
sed -e 's/^/ /')
done