From c281d424f17e38896786c03beb25637b15c60386 Mon Sep 17 00:00:00 2001 From: William PC Date: Sat, 12 Nov 2022 12:24:23 +0000 Subject: libraries/scalapack: Fix cmake shared. Bump BUILD. Signed-off-by: Willy Sudiarto Raharjo --- libraries/scalapack/scalapack.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/scalapack/scalapack.SlackBuild b/libraries/scalapack/scalapack.SlackBuild index cb56acb63184..df23122d7cd5 100644 --- a/libraries/scalapack/scalapack.SlackBuild +++ b/libraries/scalapack/scalapack.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=scalapack VERSION=${VERSION:-2.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -95,13 +95,14 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=ON \ - -DBUILD_SHARED_LIBS=OFF \ + -DBUILD_STATIC_LIBS=OFF \ -DCMAKE_Fortran_FLAGS="-std=legacy" \ .. make make install/strip DESTDIR=$PKG cd .. + # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la -- cgit v1.2.3