Best practices for *-uninstalled.pc files

Pavel Roskin plroskin at
Sun Oct 16 18:06:35 UTC 2016


Is there any guidance how to write *-uninstalled.pc files? Specifically,
I'd like to know what prefix I should use.

pkg-config itself includes a test file check/inst-uninstalled.pc that
starts with:


pixman-0.30.0 and cairo-1.8.8 use ${pc_top_builddir}/${pcfiledir}

libxml-2.0 uses ${pcfiledir}

Finally, I saw suggestions to use @abs_top_srcdir@ and @abs_top_builddir@
in gstreamer mailing lists.

It would be great to have a documented guidance from the pkg-config team.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the pkg-config mailing list