Generated .c sources are used as headers. Generate .h files instead.
That's actually a preparation for the Meson port !1 (merged). Meson detects the extension and tries to compile and link the files, resulting in a multiple definition error at library link.
Anyways, we shouldn't #include
.c files, that's kind of a bad design.
Edited by Salamandar