summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.pc.template
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/bpf/libbpf.pc.template')
-rw-r--r--tools/lib/bpf/libbpf.pc.template12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.pc.template b/tools/lib/bpf/libbpf.pc.template
new file mode 100644
index 000000000..b45ed534b
--- /dev/null
+++ b/tools/lib/bpf/libbpf.pc.template
@@ -0,0 +1,12 @@
+# 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 zlib
+Cflags: -I${includedir}