summaryrefslogtreecommitdiff
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 000000000000..ac17fcef2108
--- /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
+Cflags: -I${includedir}