musl-fts: remove shared libraries from host
authorRosen Penev <rosenp@gmail.com>
Fri, 24 Sep 2021 06:44:57 +0000 (23:44 -0700)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 27 Mar 2022 12:38:13 +0000 (14:38 +0200)
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@gmail.com>
package/libs/musl-fts/Makefile

index e913fe167fedd86087ea29baa1b3c568bb10aa27..72341cd3796386e3f74ec556d07cb41d0e575b10 100644 (file)
@@ -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