[openwrt/openwrt] musl-fts: remove shared libraries from host

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 27 06:39:59 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8a75ed4ba07b9d64ae547ce36873e51ba54f0eaf

commit 8a75ed4ba07b9d64ae547ce36873e51ba54f0eaf
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Thu Sep 23 23:44:57 2021 -0700

    musl-fts: remove shared libraries from host
    
    Avoids having to add rpath to the various packages using it. Also add
    PIC to fix compilation as static libraries do not use PIC by default.
    
    Fixes: 1fb099341e58 ("musl-fts: add host build")
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/libs/musl-fts/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libs/musl-fts/Makefile b/package/libs/musl-fts/Makefile
index e913fe167f..72341cd379 100644
--- a/package/libs/musl-fts/Makefile
+++ b/package/libs/musl-fts/Makefile
@@ -44,6 +44,7 @@ define Package/musl-fts/description
   The musl-fts package implements the fts(3) functions fts_open, fts_read, fts_children, fts_set and fts_close, which are missing in musl libc.
 endef
 
+HOST_CONFIGURE_ARGS += --disable-shared --with-pic
 
 define Build/InstallDev
 	$(INSTALL_DIR) $(1)/usr/include




More information about the lede-commits mailing list