forked from Minki/linux
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}
|