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

Ports: Replace manually linking ntbtls with a libtool patch

This commit is contained in:
Tim Schumacher 2022-06-03 17:14:24 +02:00 committed by Linus Groh
parent 1f726791fb
commit 1c66ec7aea
3 changed files with 92 additions and 6 deletions

View file

@ -15,9 +15,3 @@ pre_configure() {
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/libntbtls.so -Wl,-soname,libntbtls.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libntbtls.a -Wl,--no-whole-archive -lgpg-error -lksba -lgcrypt
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libntbtls.la
}