1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:37:45 +00:00

Ports: Replace manually linking libgpg-error with a libtool patch

This commit is contained in:
Tim Schumacher 2022-06-03 16:37:26 +02:00 committed by Linus Groh
parent 9d3e8b3e57
commit 9e1de61613
5 changed files with 94 additions and 10 deletions

View file

@ -12,9 +12,3 @@ auth_type=sha256
configure() {
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" "${configopts[@]}"
}
install() {
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libgpg-error.so -Wl,-soname,libgpg-error.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libgpg-error.a -Wl,--no-whole-archive -lintl
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libgpg-error.la
}