mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 00:18:26 +00:00
Drop IUSE static in order to eliminate the need for static-libs support in libzip which promped https://github.com/gentoo/gentoo/pull/42357. Signed-off-by: Zac Medico <zmedico@gentoo.org>
21 lines
567 B
Diff
21 lines
567 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -263,6 +263,9 @@
|
|
# Musl doesn't have execinfo.h.
|
|
ifndef HAVE_MUSL
|
|
CFLAGS += -DHAVE_EXECINFO_H
|
|
+# Musl doesn't have fts.h so enable linking to the standalone lib.
|
|
+else
|
|
+ MUSL_LIBS := -lfts
|
|
endif
|
|
|
|
# And a few more default utilities
|
|
@@ -1167,7 +1170,7 @@
|
|
|
|
# FUTIL_LIBS is shared by FUTIL_BIN and TEST_FUTIL_BINS.
|
|
FUTIL_LIBS = ${CROSID_LIBS} ${CRYPTO_LIBS} ${LIBZIP_LIBS} ${LIBARCHIVE_LIBS} \
|
|
- ${FLASHROM_LIBS}
|
|
+ ${FLASHROM_LIBS} ${MUSL_LIBS}
|
|
|
|
${FUTIL_BIN}: LDLIBS += ${FUTIL_LIBS}
|
|
${FUTIL_BIN}: ${FUTIL_OBJS} ${UTILLIB}
|