From f8d91c8f8fb1d16ebf1fb92fd3554e05de187186 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 14 Aug 2021 11:27:58 +0200 Subject: [PATCH] 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. --- Ports/libxml2/package.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Ports/libxml2/package.sh b/Ports/libxml2/package.sh index 04ff2b14b4..8616356952 100755 --- a/Ports/libxml2/package.sh +++ b/Ports/libxml2/package.sh @@ -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 }