Best practices for *-uninstalled.pc files

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


Hi!

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:

prefix=${pc_top_builddir}

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.

Pavel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pkg-config/attachments/20161016/785b34d7/attachment.html>


More information about the pkg-config mailing list