diff options
author | Yonggang Luo <luoyonggang@gmail.com> | 2020-08-26 23:10:02 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-27 18:52:30 +0200 |
commit | cb23fd474035f7232a462dbcad8e61e6b1fa12f1 (patch) | |
tree | 1627fda2210e7c4652ed3d5df5e8eeb923e58805 /hw/sd/sdmmc-internal.c | |
parent | 1a4db552d8ee7efe9202f712de874e52900a5915 (diff) | |
download | qemu-cb23fd474035f7232a462dbcad8e61e6b1fa12f1.zip qemu-cb23fd474035f7232a462dbcad8e61e6b1fa12f1.tar.gz qemu-cb23fd474035f7232a462dbcad8e61e6b1fa12f1.tar.bz2 |
meson: fix relpath failure on Win32
On win32, os.path.relpath can raise an exception when computing
for example C:/msys64/mingw64/x.exe relative to E:/path/qemu-build.
Use try...except to avoid this, just using an absolute path in
this case.
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/sd/sdmmc-internal.c')
0 files changed, 0 insertions, 0 deletions