Issue description
At least glib has lib/glib-2.0/include/glibconfig.h in its out output. It's fine while we use pkgconfig but breaks CMake packages which expect it to be in dev output. I think it's the right place for it, after all.
I'm slowly searching for those packages and patching them one-by-one but this is a slow manual process. Maybe someone has an idea how to automate it? Also, do we want to do this at all or maybe fix it somehow else?
cc @vcunat