immortalwrt/package
Tony Ambardar c6bce19b09 binutils: fix libbfd missing DSO dependency if NLS enabled
The libbfd package definition uses $(ICONV_DEPENDS) and $(INTL_DEPENDS)
but links against neither, leading to libbfd detection failures in other
packages (e.g. bpftools) and on-target relocation problems with libintl.so:

  root@OpenWrt:/# ldd /usr/lib/libbfd.so
        ldd (0x77db6000)
        libc.so => ldd (0x77db6000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77c6d000)
  Error relocating /usr/lib/libbfd.so: libintl_dgettext: symbol not found

Add NLS-conditional linking of "libintl" to fix this. Also remove libbfd
package dependency $(ICONV_DEPENDS) which is not used during building or
linking.

Tested with QEMU on malta/be32, after building all packages from binutils,
bpftools and iproute2, using different libc options musl and glibc.

Fixes: 08e8175696 ("binutils: use nls.mk to fix libbfd link errors in
other packages")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-04-04 12:09:37 +08:00
..
base-files base-files: add logging for configuration import 2021-03-23 11:19:00 +08:00
boot sunxi: Nanopi R1S H5: add missing device package 2021-02-09 12:40:22 +08:00
ctcgfw phicomm-k3screenctrl: move to packages feed 2021-03-31 23:56:27 +08:00
devel binutils: fix libbfd missing DSO dependency if NLS enabled 2021-04-04 12:09:37 +08:00
firmware brcmfmac4366c0-firmware-vendor: move to firmware 2021-03-23 22:55:32 +08:00
kernel ntlf9t: move packages to packages feed 2021-03-29 23:13:57 +08:00
lean v2ray: update to 4.37.0 2021-04-03 10:18:26 +08:00
libs ncurses: add screen-256color terminfo 2021-03-30 23:13:57 +08:00
lienol trojan-go: Update to 0.8.3 2021-04-04 10:25:46 +08:00
network bpftools: drop unneeded libintl linking for NLS 2021-04-04 12:09:18 +08:00
system mtd: fix imagetag compilation 2021-03-17 23:25:41 +08:00
utils ucode: update to latest Git HEAD 2021-04-01 23:20:36 +08:00
Makefile build: store SourceDateEpoch in manifest 2020-09-01 17:31:29 +08:00