Hello Avinash,

Avinash Sonawane wrote:
Here's a 10+ lines long liblzma.pc.in:
https://git.tukaani.org/?p=xz.git;a=blob;f=src/liblzma/liblzma.pc.in;h=9fa489115a0a23c6162fa7d8bf1f634210071036;hb=HEAD
to get inspiration from.

Here's bzip2.pc.in (10+ lines):
https://gitlab.com/bzip2/bzip2/-/blob/master/bzip2.pc.in

Thank you, but those pc.in files are 100% useless without configuration support and not much more useful with it. Note from the bzip2 link above:

"This is a patch from Stanislav Bravec <[email protected]> that adds an autotools build environment to bzip2. This lets libtool handle the construction of the shared library. The patch also adds a bzip2.pc.in template to build data for the pkg-config tool."

Before even start thinking about this I need an example of a failed build that is fixed by the inclusion of such a pc.in file (without requiring any kind of autotools support).

Best regards,
Antonio.

Reply via email to