diff options
author | Xin LI <delphij@FreeBSD.org> | 2025-10-10 05:35:54 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2025-10-10 05:35:54 +0000 |
commit | 586319793368cbc664b48187bda60d27e171753a (patch) | |
tree | 7aeb3077db4ad4a3459351b4d23a659fdf22c8b8 /usr.sbin/cxgbetool/tcb_common.c | |
parent | 53825afc5dd13f3d16c3db6727260d7184bcd581 (diff) |
Add generation of a bzip2.pc file for use with pkg-config and create
a basic template as bzip2.pc.in.
This allows other software to easily locate and link against libbz2
using standard pkg-config mechanisms instead of manual compiler and
linker flags.
The version number is extracted automatically from bzlib.h to keep
it consistent with the library sources.
Tested: pkg-config --exists --print-errors "bzip2 >= 1.0.9" (fail, expected)
pkg-config --exists --print-errors "bzip2 >= 1.0" (succeeded)
pkg-config --libs bzip2 (-lbz2)
pkg-config --cflags bzip2 ()
MFC after: 3 days
Diffstat (limited to 'usr.sbin/cxgbetool/tcb_common.c')
0 files changed, 0 insertions, 0 deletions