diff options
author | schnetter <schnetter@53307013-940b-43fa-b11d-2c2b05dfe90d> | 2010-03-26 19:43:03 +0000 |
---|---|---|
committer | schnetter <schnetter@53307013-940b-43fa-b11d-2c2b05dfe90d> | 2010-03-26 19:43:03 +0000 |
commit | 1070a602e4e1e4e2ed239a8644a9fb5837ee792b (patch) | |
tree | 3a30e9985dbab8daf7f068449c650c28f5e1fed5 | |
parent | 4c96fd266293c05bd7adfafdf47fa010347a68af (diff) |
Use ranlib only if USE_RANLIB is set
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@4 53307013-940b-43fa-b11d-2c2b05dfe90d
-rw-r--r-- | BLAS.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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} |