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.
This commit is contained in:
Gunnar Beutner 2021-08-14 11:25:52 +02:00 committed by Andreas Kling
parent e06660d33c
commit bd43530750
Notes: sideshowbarker 2024-07-18 07:00:13 +09:00

View file

@ -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
}