meson
meson copied to clipboard
Meson resolves paths
Describe the bug
When working in a directory that is a symlink (the home directory in my case), the paths of objects are resolved. I think it makes more sense to get absolute path, i.e. that given by pwd in bash, or by pathlib.Path(build).absolute() in Python. Current behavior seem to be equivalent to pathlib.Path(build).resolve() in Python.
To Reproduce
message(meson.current_build_dir())
>> Message: resolved/path/to/build # as if using resolve()
Expected behavior
message(meson.current_build_dir())
>> Message: absolute/path/to/build # as if using absolute(), or pwd from the build dir
system parameters meson 1.3.0 with ninja 1.11.1 on Ubuntu 20.04