Skip to content

build: clean up .pc generation

Jan Tojnar requested to merge wip/jtojnar/join-paths into master

Path concatenation is much nicer than the unwieldy format method. Since paths returned by get_option are relative to prefix, they will be joined as before.

As a bonus, this fixes weird platforms like NixOS that actually pass absolute includedir under a different prefix.

Merge request reports