1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 14:38:20 +02:00
openwrt/package
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
..
base-files base-files: functions: introduce new helper functions 2021-03-31 16:53:39 +01:00
boot uboot-mediatek: adapt root= cmdline arg for bpi-r64 2021-03-31 22:54:17 +01:00
devel binutils: fix libbfd missing DSO dependency if NLS enabled 2021-04-03 18:56:02 +02:00
firmware
kernel
libs ncurses: add screen-256color terminfo 2021-03-29 13:47:55 -10:00
network iproute2: fix libbpf detection with NLS enabled 2021-04-03 18:56:02 +02:00
system
utils ucode: update to latest Git HEAD 2021-04-01 00:12:38 +02:00
Makefile