mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 23:56:44 +07:00
dd399ac9e3
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 <bluca@debian.org> Acked-by: Andrey Ignatov <rdna@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
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}
|