meson/test cases/vala/7 shared library
Xavier Claessens b2654b2d43 Fix crash when installing a vala library and python sources
Installing python sources causes the python module to call
create_install_data() before Ninja backends adds extra outputs to Vala
targets.

Target objects are supposed to be immutable, adding outputs that late is
totally wrong. Add extra vala outputs immediately, but be careful
because the main output is only added later in post_init(). Luckily
the base class already puts a placeholder item in self.outputs for the
main filename so we can just replace self.outputs[0] instead of
replacing the whole list which would contain vala outputs at that stage.
This is surprisingly what SharedLibrary was already doing.
2023-09-07 10:56:37 -04:00
..
lib Fix crash when installing a vala library and python sources 2023-09-07 10:56:37 -04:00
prog Can build Vala shared libraries. 2016-01-23 19:31:39 +02:00
meson.build Can build Vala shared libraries. 2016-01-23 19:31:39 +02:00
test.json Fix crash when installing a vala library and python sources 2023-09-07 10:56:37 -04:00