summaryrefslogtreecommitdiff
path: root/Ports/libxml2
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-08-14 11:27:58 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-14 12:40:49 +0200
commitf8d91c8f8fb1d16ebf1fb92fd3554e05de187186 (patch)
treee7d3915383ddd4adb88a8ca9eb4b56d51fd8801f /Ports/libxml2
parent5eae6ccfb08ac66566016624792ee1bc98f1b58a (diff)
downloadserenity-f8d91c8f8fb1d16ebf1fb92fd3554e05de187186.zip
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.
Diffstat (limited to 'Ports/libxml2')
-rwxr-xr-xPorts/libxml2/package.sh1
1 files changed, 1 insertions, 0 deletions
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
}