summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-18 19:11:54 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-23 21:47:29 -0400
commit1276a9f63a2acddcb8a21d57230f318ae34928bb (patch)
treec8b95542aa24a2390e247f64a7c6191bdad05cfe
parent86b3ca7a667baef407ccfa28166638ed0e64c26c (diff)
meson: add ln --relative check
-rw-r--r--meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 4690619e54..65cb3889fd 100644
--- a/meson.build
+++ b/meson.build
@@ -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
############################################################