1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-04 20:58:28 +03:00

meson: add TODO to switch to new 'follow_symlinks' option in the future

Newly added and will be in the next release of Meson
This commit is contained in:
Luca Boccassi 2023-09-17 12:51:15 +01:00 committed by Yu Watanabe
parent c7027516b7
commit 413ef50af3

View File

@ -24,8 +24,9 @@ if install_tests
'testsuite-80.units',
]
# install_subdir() does not handle symlinks correctly which causes a very ugly warning when
# installing, so if rsync is available we use that instead. See
# https://github.com/mesonbuild/meson/issues/9233.
# installing, so if rsync is available we use that instead. TODO: switch to the new option
# 'follow_symlinks' once we require Meson 1.2.2 or greater, see:
# https://github.com/mesonbuild/meson/commit/0af126fec798d6dbb0d1ad52168cc1f3f1758acd
if rsync.found()
rsync_r = rsync.full_path() + ' -rlpt --exclude .gitattributes -- "@0@" "${DESTDIR:-}@1@"'
meson.add_install_script(sh, '-c',