From bd435307507c250863dd9c81703b73b5a22a6276 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 14 Aug 2021 11:25:52 +0200 Subject: [PATCH] Ports: Make sure to remove the .la file after building libiconv Otherwise libtool gets confused and tries to link against files that don't exist. --- Ports/libiconv/package.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Ports/libiconv/package.sh b/Ports/libiconv/package.sh index a5edd9c704..cc11396f44 100755 --- a/Ports/libiconv/package.sh +++ b/Ports/libiconv/package.sh @@ -9,4 +9,5 @@ auth_type="sha256" install() { run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install run ${SERENITY_ARCH}-pc-serenity-gcc -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.so -Wl,-soname,libiconv.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.a -Wl,--no-whole-archive + rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.la }