mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
Generate a libbpf.pc file at build time so that users can rely on pkg-config to find the library, its CFLAGS and LDFLAGS. Signed-off-by: Luca Boccassi <[email protected]> Acked-by: Andrey Ignatov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
13 lines
247 B
Plaintext
13 lines
247 B
Plaintext
# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
|
|
|
|
prefix=@PREFIX@
|
|
libdir=@LIBDIR@
|
|
includedir=${prefix}/include
|
|
|
|
Name: libbpf
|
|
Description: BPF library
|
|
Version: @VERSION@
|
|
Libs: -L${libdir} -lbpf
|
|
Requires.private: libelf
|
|
Cflags: -I${includedir}
|