1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 00:17:46 +00:00

Ports/fontconfig: Import the libtool patch

This previously went unnoticed because `fontconfig` was never linked
into a shared library manually.
This commit is contained in:
Tim Schumacher 2022-06-07 15:16:56 +02:00 committed by Linus Groh
parent 90dafefb9e
commit b51bc1aa4e
3 changed files with 95 additions and 1 deletions

View file

@ -6,7 +6,14 @@ use_fresh_config_sub="true"
depends=("libxml2" "freetype")
files="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz fontconfig-${version}.tar.xz dcbeb84c9c74bbfdb133d535fe1c7bedc9f2221a8daf3914b984c44c520e9bac"
auth_type="sha256"
configopts=("--prefix=/usr/local" "--enable-libxml2" "LDFLAGS=-ldl -lxml2")
configopts=(
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
"--prefix=/usr/local"
"--disable-static"
"--enable-shared"
"--enable-libxml2"
"LDFLAGS=-ldl -lxml2"
)
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2"
export LIBXML2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2/"