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:
parent
1f726791fb
commit
1c66ec7aea
3 changed files with 92 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue