Ports: Explicitely link against libintl when using libgpg-error

For some reason, this will become necessary in the next commit. This
library is already included in glibc so it is not needed to link against
it on Linux, but otherwise required.
This commit is contained in:
Lucas Chollet
2026-03-06 14:12:19 +01:00
committed by Sönke Holz
parent 464fb9de01
commit 3a272e71b8
2 changed files with 4 additions and 2 deletions

View File

@@ -24,5 +24,6 @@ configure() {
--disable-static \
--enable-shared \
--with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--with-sysroot="${SERENITY_INSTALL_ROOT}"
--with-sysroot="${SERENITY_INSTALL_ROOT}" \
LDFLAGS="-lintl"
}

View File

@@ -22,5 +22,6 @@ configure() {
--host="${SERENITY_ARCH}-serenity" \
--build="$("${workdir}/build-aux/config.guess")" \
--with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--with-sysroot="${SERENITY_INSTALL_ROOT}"
--with-sysroot="${SERENITY_INSTALL_ROOT}" \
LDFLAGS="-lintl"
}