Description
We have the problem that Vulkan-Loader contains the pkg-config file, which some project use for detecting how to build against vulkan, while the headers are in the separate https://github.com/KhronosGroup/Vulkan-Headers project. This results in downstream packages needing to do extra check for headers etc.
In Arch Linux for example loader and headers are separate packages, resulting in build issues:
In MSYS2 we follow what Arch does, leading to the same issue:
Some downstream projects work around that by manually checking for headers:
In Debian the packages are built together and the development files are split out into a separate combined package (so the .pc files and the headers are together) https://packages.debian.org/source/trixie/vulkan-loader
What would be a good strategy to handle this split downstream?
- Make loader depend on headers?
- Build them together as if they were the same project? (In Arch this would mean one package, while in Debian this means runtime and dev files are split, according to the distro rules)
- Make downstream projects not assume the the .pc file is relevant for the headers and do manual header checking, in the same prefix I'd guess?
Thanks!
Activity