immortalwrt/package/network/utils/iproute2/patches
Tony Ambardar c5ad183dde iproute2: fix libbpf detection with NLS enabled
Upstream iproute2 detects libbpf using a one-line $CC test-compile, which
normally ignores LDFLAGS. With NLS enabled however, LDFLAGS includes an
"rpath-link" linker option needed to resolve libintl.so. Its absence
causes both the compile and libbpf detection to fail:

  ld: warning: libintl.so.8, needed by libbpf.so, not found (try using
      -rpath or -rpath-link)
  ld: libelf.so.1: undefined reference to `libintl_dgettext'
  collect2: error: ld returned 1 exit status

Fix this by directly including $LDFLAGS in the test-compile command.

Reported-by: Ian Cooper <iancooper@hotmail.com>
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-04-04 12:09:59 +08:00
..
100-configure.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
110-darwin_fixes.patch iproute2: bump tp 4.18.0 #13 2019-07-29 21:26:26 +08:00
115-add-config-xtlibdir.patch iproute2: update to 5.9 2020-11-14 17:40:26 +08:00
120-no_arpd.patch iproute2: bump tp 4.18.0 #13 2019-07-29 21:26:26 +08:00
130-no_netem.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
140-allow_pfifo_fast.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
140-keep_libmnl_optional.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
145-keep_libelf_optional.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
150-keep_libcap_optional.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
160-libnetlink-pic.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
170-ip_tiny.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
175-reduce-dynamic-syms.patch iproute2: update to 5.9 2020-11-14 17:40:26 +08:00
180-drop_FAILED_POLICY.patch iproute2: update to 5.6.0 2020-04-12 07:43:09 +08:00
185-libbpf-add-limits-h.patch iproute2: add missing limits.h includes 2021-03-20 11:33:14 +08:00
190-fix-nls-rpath-link.patch iproute2: fix libbpf detection with NLS enabled 2021-04-04 12:09:59 +08:00
200-drop_libbsd_dependency.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00
300-selinux-configurable.patch iproute2: update to 5.11.0 2021-03-01 18:16:16 +08:00