[openwrt/openwrt] bintuils: Pack libctf-nobfd.so in addition

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 10 18:11:20 EDT 2020


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

commit 0a864f20fb7fae4e3393ef1683d8ab646d2be2f4
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Aug 9 14:42:14 2020 +0200

    bintuils: Pack libctf-nobfd.so in addition
    
    readelf is linked against this library on MIPS64BE
    This fixes a build problem on MIPS64BE.
    
    In addition also explicitly activate it in the configure command.
    
    Fixes: 60f595daab45 ("binutils: update to version 2.34")
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/devel/binutils/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile
index 6ad326efa0..9f7a0724f4 100644
--- a/package/devel/binutils/Makefile
+++ b/package/devel/binutils/Makefile
@@ -84,7 +84,8 @@ CONFIGURE_ARGS += \
 	--target=$(REAL_GNU_TARGET_NAME) \
 	--enable-shared \
 	--enable-install-libiberty \
-	--enable-install-libbfd
+	--enable-install-libbfd \
+	--enable-install-libctf
 
 define Build/Install
 	$(call Build/Install/Default)
@@ -106,7 +107,7 @@ endef
 
 define Package/libctf/install
 	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libctf.so* $(1)/usr/lib/
+	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libctf*.so* $(1)/usr/lib/
 endef
 
 define Package/libopcodes/install



More information about the lede-commits mailing list