immortalwrt/package/network
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
..
config firewall4: update to latest Git HEAD 2021-04-01 23:21:02 +08:00
ipv6 odhcp6c: update to git HEAD 2020-12-31 11:25:13 +08:00
services igmpproxy: remove package 2021-03-23 11:22:21 +08:00
utils iproute2: fix libbpf detection with NLS enabled 2021-04-04 12:09:59 +08:00