diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-08-14 11:26:52 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-14 12:40:49 +0200 |
commit | 5eae6ccfb08ac66566016624792ee1bc98f1b58a (patch) | |
tree | b4b9a52c2c8760ecd0731a6d4bea38c8b2e2f482 /Ports | |
parent | bd435307507c250863dd9c81703b73b5a22a6276 (diff) | |
download | serenity-5eae6ccfb08ac66566016624792ee1bc98f1b58a.zip |
Ports: Add missing dependency for libxml2
When xz was previously built we'd end up with a shared library for
libxml2 that depends on xz features but isn't linked against liblzma.
Diffstat (limited to 'Ports')
-rwxr-xr-x | Ports/libxml2/package.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/libxml2/package.sh b/Ports/libxml2/package.sh index bad27efe8c..04ff2b14b4 100755 --- a/Ports/libxml2/package.sh +++ b/Ports/libxml2/package.sh @@ -4,7 +4,7 @@ useconfigure="true" version="2.9.12" files="ftp://xmlsoft.org/libxml2/libxml2-${version}.tar.gz libxml2-${version}.tar.gz c8d6681e38c56f172892c85ddc0852e1fd4b53b4209e7f4ebf17f7e2eae71d92" auth_type=sha256 -depends="libiconv" +depends="libiconv xz" configopts="--prefix=${SERENITY_INSTALL_ROOT}/usr/local --without-python" install() { @@ -12,5 +12,5 @@ install() { run make 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 + 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 } |