msm8916-openwrt/tools/elfutils/patches
Michael Pratt f560588b05 tools/elfutils: add more pkg-config library info
In order for linking the static libraries from elfutils to work,
other libraries need to be included to handle the references
to functions made in the library's objects that are not included
as they would already be if the library was a shared object instead.

A shared object library stores this list of libraries when it was made,
so that the dynamic linker can refer to that list at runtime,
but a static library has no such functionality so the list of libraries
for missing functions must be included at link time.

This information was already added to the pc file for libelf
using the definitions in src/Makefile.am,
so extend this to the rest of the pc files in the project.

For situations where the libraries may be used
without pkg-config setting the flags and library list,
this patch and the pc files can serve as a quick reference.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/15690
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-06-19 11:22:13 +02:00
..
010-backport-mips-support-reloc.patch tools/elfutils: add missing MIPS reloc support 2024-06-13 14:16:33 +02:00
100-portability.patch tools/elfutils: add more pkg-config library info 2024-06-19 11:22:13 +02:00
101-shared-conditional.patch tools/elfutils: split upstreamable parts of portability patch 2024-06-19 11:22:13 +02:00
110-objects-manifest.patch tools/elfutils: split upstreamable parts of portability patch 2024-06-19 11:22:13 +02:00