summaryrefslogtreecommitdiffstats
path: root/config/libdw.pc.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/libdw.pc.in')
-rw-r--r--config/libdw.pc.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/libdw.pc.in b/config/libdw.pc.in
new file mode 100644
index 00000000..b7dc0026
--- /dev/null
+++ b/config/libdw.pc.in
@@ -0,0 +1,22 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libdw
+Description: elfutils library for DWARF data and ELF file or process inspection
+Version: @VERSION@
+URL: https://fedorahosted.org/elfutils/
+
+Libs: -L${libdir} -ldw
+Cflags: -I${includedir}
+
+# We need the exact matching elfutils libelf version since internal data
+# structures are used.
+Requires: libelf = @VERSION@
+
+# We support various compressed ELF images, but don't export any of the
+# data structures or functions. zlib (gz) is always required, bzip2 (bz2)
+# and lzma (xz) are optional. But bzip2 doesn't have a pkg-config file.
+Requires.private: zlib @LIBLZMA@
+Libs.private: @BZ2_LIB@