mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
40143873d6
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
|
||
---|---|---|
.. | ||
adb-enablemodem | ||
arptables | ||
bpftools | ||
comgt | ||
dante | ||
ebtables | ||
ethtool | ||
iproute2 | ||
ipset | ||
iptables | ||
iw | ||
iwcap | ||
iwinfo | ||
layerscape/restool | ||
linux-atm | ||
ltq-dsl-base | ||
nftables | ||
resolveip | ||
rssileds | ||
tcpdump | ||
umbim | ||
uqmi | ||
wireguard-tools | ||
wireless-tools | ||
wpan-tools | ||
wwan |