openwrt/package/network/utils/iproute2/patches
Jo-Philipp Wich 386803a006 iproute2: only link libelf where needed
The iproute2 build system links libelf support to every utility while only
the tc program actually requires libelf specific functionality.

Unfortunately the BPF ELF functionality is not confined into an own
compilation unit but added to the existing bpf.c sources of the shared
static libutil.a, causing every iproute2 applet to pick up an implicit
libelf.so dependency.

In order to avoid this requirement, patch the iproute2 build system to
create both a libutil.a and a libutil-elf.a, with the former being built
without libelf functionality and to only link the tc applet with the libelf
enabled libutil.

Finally, make the tc package depend on libelf to solve compilation errors.

Ref: https://github.com/openwrt/packages/issues/7728
Fixes: FS#2011
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-19 10:50:02 +01:00
..
001-fix-print_0xhex-on-32-bit.patch iproute2: backport upstream patch to fix print_0xhex on 32 bit 2018-12-12 12:38:54 +01:00
002-tc-fix-xtables-incorrect-usage-of-LDFLAGS.patch iproute2: backport patch fixing incorrect usage of LDFLAGS 2018-12-14 09:57:15 +01:00
100-config.patch iproute2: update to 4.17.0 2018-07-10 19:30:12 +02:00
110-darwin_fixes.patch iproute2: update to 4.17.0 2018-07-10 19:30:12 +02:00
120-no_arpd.patch iproute2: update to 4.17.0 2018-07-10 19:30:12 +02:00
130-no_netem.patch iproute2: update to 4.17.0 2018-07-10 19:30:12 +02:00
140-allow_pfifo_fast.patch iproute2: update to 4.19.0 2018-11-08 11:09:13 +01:00
140-keep_libmnl_optional.patch iproute2: update to 4.17.0 2018-07-10 19:30:12 +02:00
150-extra-ccopts.patch iproute2: update to 4.17.0 2018-07-10 19:30:12 +02:00
160-libnetlink-pic.patch iproute2: update to 4.17.0 2018-07-10 19:30:12 +02:00
170-ip_tiny.patch iproute2: update to 4.19.0 2018-11-08 11:09:13 +01:00
180-drop_FAILED_POLICY.patch iproute2: update to 4.19.0 2018-11-08 11:09:13 +01:00
190-link-libelf-to-tc-only.patch iproute2: only link libelf where needed 2018-12-19 10:50:02 +01:00