diff options
author | James Almer <jamrial@gmail.com> | 2017-11-11 11:30:32 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-11 11:30:32 -0300 |
commit | 24f1685f6eb2af6326acec9a06678e7127b9f9dc (patch) | |
tree | 1d1d6db10a9121818fe952d27ffbd7e52f458f46 /compat/windows | |
parent | 87865bf6c7001e6fd8c536a247f71a9a426c3bd0 (diff) | |
parent | 44aa9105c535471ca9e23796d7ca29b341f47636 (diff) | |
download | ffmpeg-24f1685f6eb2af6326acec9a06678e7127b9f9dc.tar.gz |
Merge commit '44aa9105c535471ca9e23796d7ca29b341f47636'
* commit '44aa9105c535471ca9e23796d7ca29b341f47636':
makedef: Fold as much text transformations as possible into the initial dump
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'compat/windows')
-rwxr-xr-x | compat/windows/makedef | 8 |
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 |