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:
parent
5eae6ccfb0
commit
f8d91c8f8f
Notes:
sideshowbarker
2024-07-18 07:00:06 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/f8d91c8f8fb Pull-request: https://github.com/SerenityOS/serenity/pull/9403
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue