Re: [PATCH] meson: fix Windows build

2025-05-24 Thread Oleg Tolmatcev
Am Fr., 23. Mai 2025 um 23:28 Uhr schrieb Paolo Bonzini : > > Thanks for the patch! The Windows build configurations that we support > currently are cross-building from Linux and native build with MSYS2. > MSYS2 is sufficiently POSIX-like, and also has a nice package manager. > > Can you share how

Re: [PATCH] meson: fix Windows build

2025-05-23 Thread Paolo Bonzini
On 5/23/25 21:57, oltolm wrote: The build failed when run on Windows. I replaced calls to Unix programs like `cat` and `true` with calls to `python`. I wrapped calls to `os.path.relpath` in try-except because it can fail when the two paths are on different drives. I made sure to convert the Windo

[PATCH] meson: fix Windows build

2025-05-23 Thread oltolm
The build failed when run on Windows. I replaced calls to Unix programs like `cat` and `true` with calls to `python`. I wrapped calls to `os.path.relpath` in try-except because it can fail when the two paths are on different drives. I made sure to convert the Windows paths to Unix paths to prevent