diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2022-01-16 07:06:15 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-01-18 15:07:11 +0100 |
commit | 691db9a718fd2f5b8ae131d6469fb00c2d8fccef (patch) | |
tree | de319aec7f1294feba4a062754fd37ea3360bea1 /meson.build | |
parent | Merge pull request #22153 from evverx/switch-to-bullseye (diff) | |
download | systemd-691db9a718fd2f5b8ae131d6469fb00c2d8fccef.tar.xz systemd-691db9a718fd2f5b8ae131d6469fb00c2d8fccef.zip |
meson: force ctags to use absolute paths
Looks like https://github.com/mesonbuild/meson/issues/957 was
reintroduced in meson-0.57.0 (and looking and https://mesonbuild.com/Release-notes-for-0-57-0.html
I'm not sure whether it was intentional or not) so run_command can no
longer be used to get around
https://github.com/mesonbuild/meson/issues/3589. Let's just force
ctags to always use absolute paths to fix it once and for all.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 312439015f..5e0bd2c431 100644 --- a/meson.build +++ b/meson.build @@ -3876,7 +3876,7 @@ if git.found() command : [env, 'etags', '-o', '@0@/TAGS'.format(project_source_root)] + all_files) run_target( 'ctags', - command : [env, 'ctags', '-o', '@0@/tags'.format(project_source_root)] + all_files) + command : [env, 'ctags', '--tag-relative=never', '-o', '@0@/tags'.format(project_source_root)] + all_files) endif endif |