ports/security/blst/files/patch-build.sh
Baptiste Daroussin 1eddac3162 security/blst: add soname to the library
soname is necessary to the library is properly provided
2025-03-20 17:49:02 +01:00

9 lines
305 B
Bash

--- build.sh.orig 2025-03-20 16:46:21 UTC
+++ build.sh
@@ -124,5 +124,6 @@ if [ $shared ]; then
esac
(set -x; ${CC} -shared -o $sharedlib \
-Wl,--whole-archive,libblst.a,--no-whole-archive ${CFLAGS} \
+ -Wl,--soname=${sharedlib} \
-Wl,-Bsymbolic)
fi