summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-08-14 11:25:52 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-14 12:40:49 +0200
commitbd435307507c250863dd9c81703b73b5a22a6276 (patch)
tree37e347f826f0395c22566056c004ecdb4e746a78
parente06660d33ce650cf6bce065922de174383cd5123 (diff)
downloadserenity-bd435307507c250863dd9c81703b73b5a22a6276.zip
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.
-rwxr-xr-xPorts/libiconv/package.sh1
1 files changed, 1 insertions, 0 deletions
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
}