security/blst: add soname to the library

soname is necessary to the library is properly provided
This commit is contained in:
Baptiste Daroussin 2025-03-20 17:48:29 +01:00
parent 2ec0ea0e3f
commit 1eddac3162
2 changed files with 10 additions and 0 deletions

View file

@ -1,6 +1,7 @@
PORTNAME= blst
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.14
PORTREVISION= 1
CATEGORIES= security devel
MAINTAINER= arrowd@FreeBSD.org

View file

@ -0,0 +1,9 @@
--- 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