aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-08-04 03:04:17 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-15 23:50:36 +0300
commitfd7e8c540063870391e6ce75aa0fb179180fa057 (patch)
tree4f87ab60767474259694c09e2dfac48574f11e6a /mesonbuild/mesonlib.py
parent275c493cafb6df15d8655574013cb599c7728c0b (diff)
downloadmeson-fd7e8c540063870391e6ce75aa0fb179180fa057.zip
meson-fd7e8c540063870391e6ce75aa0fb179180fa057.tar.gz
meson-fd7e8c540063870391e6ce75aa0fb179180fa057.tar.bz2
expand tilde when looking up libraries -Dfoo=~/mylib
It is often desirable to use ~ for home directory in -D compilation args. Why the transform to pathlib.Path and back to str? Because this is one of many places where the list(map(str,..))) will be eliminated upon Python 3.6 being minimum Meson Python requirement.
Diffstat (limited to 'mesonbuild/mesonlib.py')
0 files changed, 0 insertions, 0 deletions