Open bruchar1 opened 2 weeks ago
Fixes https://github.com/mesonbuild/meson/issues/13130
Backslashes are valid characters in posix paths. Therefore, we should not replace them when the build machine uses a posix filesystem.
A test was added to illustrate the difference of behavior when joining Windows-like paths on Windows and on other systems.
Related https://github.com/mesonbuild/meson/pull/12097
cc @xclaesse
Fixes https://github.com/mesonbuild/meson/issues/13130
Backslashes are valid characters in posix paths. Therefore, we should not replace them when the build machine uses a posix filesystem.
A test was added to illustrate the difference of behavior when joining Windows-like paths on Windows and on other systems.