aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BLAS.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/BLAS.sh b/BLAS.sh
index 425c53f..40f9d02 100644
--- a/BLAS.sh
+++ b/BLAS.sh
@@ -92,7 +92,9 @@ if [ -z "${BLAS_DIR}" ]; then
echo "BLAS: Building..."
${F77} ${F77FLAGS} -c *.f
${AR} ${ARFLAGS} blas.a *.o
- ${RANLIB} ${RANLIBFLAGS} blas.a
+ if [ ${USE_RANLIB} = 'yes' ]; then
+ ${RANLIB} ${RANLIBFLAGS} blas.a
+ fi
echo "BLAS: Installing..."
cp blas.a ${BLAS_DIR}