academic/suitesparse: Ensure correct linking

Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christoph Willing 2023-11-25 21:50:08 +10:00 committed by Willy Sudiarto Raharjo
parent 5e4c8a5558
commit c06992a077
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=suitesparse
SRCNAM=SuiteSparse
VERSION=${VERSION:-5.13.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -82,6 +82,7 @@ mkdir -p $PKG/usr/include/suitesparse
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
export BLAS="$(pkg-config --libs openblas)"
make
make install \
INSTALL_INCLUDE=$PKG/usr/include/suitesparse \