openwrt/package/network/utils/iproute2/patches
Tony Ambardar aab3a04ce8 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-03 18:56:02 +02:00
..
100-configure.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00
110-darwin_fixes.patch iproute2: update to 4.17.0 2018-07-10 19:30:12 +02:00
115-add-config-xtlibdir.patch iproute2: update to 5.9 2020-11-14 09:24:48 +01: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 5.11.0 2021-03-01 00:34:23 +01:00
140-allow_pfifo_fast.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00
140-keep_libmnl_optional.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00
145-keep_libelf_optional.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00
150-keep_libcap_optional.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00
160-libnetlink-pic.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00
170-ip_tiny.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00
175-reduce-dynamic-syms.patch iproute2: update to 5.9 2020-11-14 09:24:48 +01:00
180-drop_FAILED_POLICY.patch iproute2: update to 5.6.0 2020-04-11 21:02:26 +02:00
185-libbpf-add-limits-h.patch iproute2: add missing limits.h includes 2021-03-19 15:30:01 +01:00
190-fix-nls-rpath-link.patch iproute2: fix libbpf detection with NLS enabled 2021-04-03 18:56:02 +02:00
200-drop_libbsd_dependency.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00
300-selinux-configurable.patch iproute2: update to 5.11.0 2021-03-01 00:34:23 +01:00