mirror of
https://github.com/openharmony/third_party_elfutils.git
synced 2026-08-26 20:37:33 -04:00
52536d7d21
Newer kernels might be compressed using ZSTD add support to libdwfl open so we can can automatically read ZSTD compressed files and kernel images. The support is very similar to the bzip2 and lzma support, but slightly different. With a bit more macros it could maybe have used the gzip.c USE_INFLATE code path. But I felt that the many macros didn't really help understand the code. So the unzip routine has a slightly different code path for ZSTD. https://sourceware.org/bugzilla/show_bug.cgi?id=26632 Signed-off-by: Mark Wielaard <mark@klomp.org>
23 lines
689 B
Plaintext
23 lines
689 B
Plaintext
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: http://elfutils.org/
|
|
|
|
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)
|
|
# lzma (xz) and zstd () are optional. But bzip2 doesn't have a pkg-config file.
|
|
Requires.private: zlib @LIBLZMA@ @LIBZSTD@
|
|
Libs.private: @BZ2_LIB@
|