1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

meson: add ln --relative check

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-04-18 19:11:54 -04:00
parent 86b3ca7a66
commit 1276a9f63a

View File

@ -441,8 +441,9 @@ foreach prog : progs
substs.set(name, path)
endforeach
# TODO: add ln --relative check
# AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't support --relative ***])])
if run_command('ln', '--relative', '--help').returncode() != 0
error('ln does not support --relative')
endif
############################################################