Ports: Make sure to remove the .la file after building libxml2

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:27:58 +02:00 committed by Andreas Kling
parent 5eae6ccfb0
commit f8d91c8f8f

View file

@ -13,4 +13,5 @@ install() {
# Link shared library
run ${SERENITY_ARCH}-pc-serenity-gcc -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libxml2.so -Wl,-soname,libxml2.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libxml2.a -Wl,--no-whole-archive -llzma
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libxml2.la
}