Ver código fonte

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 <[email protected]>
Rosen Penev 4 anos atrás
pai
commit
8a75ed4ba0
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      package/libs/musl-fts/Makefile

+ 1 - 0
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.
   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
 endef
 
 
+HOST_CONFIGURE_ARGS += --disable-shared --with-pic
 
 
 define Build/InstallDev
 define Build/InstallDev
 	$(INSTALL_DIR) $(1)/usr/include
 	$(INSTALL_DIR) $(1)/usr/include