On Friday 2023-07-14 16:02, Michal Suchánek wrote: >> >> What about doing it like systemd and generate a .pc file instead >> that can then be queried like so, e.g.: >> >> $ pkg-config kmod --variable=modulesdir > > - .pc files would be shipped with libkmod development package, not the > kmod tool in a binary distribution On that point: No, they would not. Again, confer with systemd: systemd.rpm(SUSE) provides systemd.pc, systemd-devel.rpm provides libsystemd.pc. kmod.rpm would provide kmod.pc, kmod-devel.rpm would continue to provide libkmod.pc as it does today.