openwrt/package
Tony Ambardar 40143873d6 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>
(cherry picked from commit aab3a04ce8)
2021-04-10 14:22:28 +02:00
..
base-files base-files: add logging for configuration import 2021-03-22 21:08:00 +01:00
boot uboot-envtools: adjust compile patch to version v2021.01 2021-03-01 21:50:08 +01:00
devel binutils: fix libbfd missing DSO dependency if NLS enabled 2021-04-10 14:22:28 +02:00
firmware tfa-layerscape: build fiptool again 2021-02-21 13:55:30 +01:00
kernel kernel/modules: relocate teql hotplug from iproute2 to kmod-sched 2021-04-10 14:22:28 +02:00
libs libunwind: Add MIPS64 dep check 2021-03-29 22:26:27 +02:00
network iproute2: fix libbpf detection with NLS enabled 2021-04-10 14:22:28 +02:00
system rpcd: update to git HEAD 2021-03-15 21:53:16 +00:00
utils firmware-utils: bcm4908img: convert into a package 2021-04-08 13:16:13 +02:00
Makefile build: always build package/kernel/linux 2020-10-15 13:25:58 +02:00