Some projects treat meson.project_source_root() as the root of the dependency files, because the project itself merely wraps a bunch of datafiles. Our validation to make sure this doesn't point to another subproject, made use of pathlib.Path's generator for all component paths, which... did not include the path itself. So go ahead and explicitly check that too. Add a test case to verify it while we are at it. Fixes https://github.com/mesonbuild/meson/pull/10103#issuecomment-1114901033pull/10346/head
parent
5a34dcedf7
commit
6c0370f62f
5 changed files with 11 additions and 1 deletions
@ -0,0 +1 @@ |
||||
int main(void) { return 0; } |
Loading…
Reference in new issue