diff options
author | Arthur Sengileyev <arthur.sengileyev@gmail.com> | 2025-04-12 21:08:30 +0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2025-04-13 13:45:41 +0300 |
commit | b0b5af62ef9eaf25246cdd433a4eb69361298ee4 (patch) | |
tree | f068180a588aa76bfc27eccc827dff26c7563277 /rust/qemu-api/src/chardev.rs | |
parent | 22e6d702946c82c6d19326b81430c83ed9ee16a9 (diff) | |
download | qemu-b0b5af62ef9eaf25246cdd433a4eb69361298ee4.zip qemu-b0b5af62ef9eaf25246cdd433a4eb69361298ee4.tar.gz qemu-b0b5af62ef9eaf25246cdd433a4eb69361298ee4.tar.bz2 |
Fix objdump output parser in "nsis.py"
In msys2 distribution objdump from gcc is using single tab character
prefix, but objdump from clang is using 4 white space characters instead.
The script will not identify any dll dependencies for a QEMU build
generated with clang. This in turn will fail the build, because there
will be no files inside dlldir and no setup file will be created.
Instead of checking for whitespace in prefix use lstrip to accommodate
for differences in outputs.
Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'rust/qemu-api/src/chardev.rs')
0 files changed, 0 insertions, 0 deletions