]> Git Repo - qemu.git/commit
meson: fix relpath failure on Win32
authorYonggang Luo <[email protected]>
Wed, 26 Aug 2020 15:10:02 +0000 (23:10 +0800)
committerPaolo Bonzini <[email protected]>
Thu, 27 Aug 2020 16:52:30 +0000 (18:52 +0200)
commitcb23fd474035f7232a462dbcad8e61e6b1fa12f1
tree1627fda2210e7c4652ed3d5df5e8eeb923e58805
parent1a4db552d8ee7efe9202f712de874e52900a5915
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
scripts/mtest2make.py
This page took 0.023535 seconds and 4 git commands to generate.