[openwrt/openwrt] bpftools: drop unneeded libintl linking for NLS

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 3 18:17:25 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c8c638a19b63bf6c3bf8094aebd8fde6feda36ba

commit c8c638a19b63bf6c3bf8094aebd8fde6feda36ba
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Sun Mar 28 01:12:22 2021 -0700

    bpftools: drop unneeded libintl linking for NLS
    
    There is no direct linking of libintl from bpftools, only secondary linking
    through libelf, so remove "-lintl" from TARGET_LDFLAGS.
    
    Fixes: 5582fbd6135f ("bpftools: support NLS, fix ppc build and update to 5.8.9")
    Signed-off-by: Tony Ambardar <itugrok at yahoo.com>
---
 package/network/utils/bpftools/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/package/network/utils/bpftools/Makefile b/package/network/utils/bpftools/Makefile
index 15bed2d89e..9955d361f4 100644
--- a/package/network/utils/bpftools/Makefile
+++ b/package/network/utils/bpftools/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bpftools
 PKG_VERSION:=5.11.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=linux-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/linux/kernel/v5.x
@@ -93,10 +93,6 @@ ifneq ($(BUILD_VARIANT),lib)
   TARGET_LDFLAGS += -Wl,--gc-sections
 endif
 
-ifneq ($(INTL_FULL),)
-  TARGET_LDFLAGS += -Wl,-lintl
-endif
-
 MAKE_FLAGS += \
 	EXTRA_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
 	LDFLAGS="$(TARGET_LDFLAGS)" \



More information about the lede-commits mailing list