summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/scalapack/scalapack.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/scalapack/scalapack.SlackBuild b/libraries/scalapack/scalapack.SlackBuild
index cb56acb631..df23122d7c 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