mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Ports: Set the correct prefix for libxml2
The prefix should apply both inside and outside the system. Having the full host path there only confuses software that is built inside the system, as well as other ports that prepend the host path themselves additionally.
This commit is contained in:
parent
a212a741df
commit
139f903960
Notes:
sideshowbarker
2024-07-17 11:26:37 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/139f903960 Pull-request: https://github.com/SerenityOS/serenity/pull/13840
1 changed files with 2 additions and 3 deletions
|
@ -6,11 +6,10 @@ use_fresh_config_sub=true
|
|||
files="https://download.gnome.org/sources/libxml2/2.9/libxml2-${version}.tar.xz libxml2-${version}.tar.xz 276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e"
|
||||
auth_type=sha256
|
||||
depends=("libiconv" "xz")
|
||||
configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--without-python")
|
||||
configopts=("--with-sysroot=${SERENITY_INSTALL_ROOT}" "--prefix=/usr/local" "--without-python")
|
||||
|
||||
install() {
|
||||
# Leave out DESTDIR - otherwise the prefix breaks
|
||||
run make install
|
||||
run make DESTDIR="${SERENITY_INSTALL_ROOT}" 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
|
||||
|
|
Loading…
Reference in a new issue