vala: Fix path of C file with generated Vala files

We missed one particular edge-case in #2413: when the generated vala
file is inside --basedir, the path is not just the basename.c

Since this case can never happen in a project test, this includes a unit
test for the same.

Closes https://github.com/mesonbuild/meson/issues/815
0.44
Nirbheek Chauhan 7 years ago
parent dadee6d921
commit 5e043d19f6
Loading…
Cancel
Save