33fa5a
diff -up wrk/makes/Make.lib.wrk wrk/makes/Make.lib
33fa5a
--- wrk/makes/Make.lib.wrk	2015-01-23 21:14:46.465494411 +0100
33fa5a
+++ wrk/makes/Make.lib	2015-01-23 22:48:39.632479588 +0100
33fa5a
@@ -185,11 +185,11 @@ TRYALL :
33fa5a
 #
33fa5a
 fat_ptshared :                              # threaded target
33fa5a
 	$(MAKE) TRYALL outso=libtatlas.so \
33fa5a
-                libas="libptlapack.a libptf77blas.a libptcblas.a libatlas.a" \
33fa5a
+                libas="libptlapack.a libptf77blas.a libptcblas.a libatlas.a $(SLAPACKlib)" \
33fa5a
                 LIBINSTdir="$(LIBINSTdir)"
33fa5a
 fat_shared :                                # serial target
33fa5a
 	$(MAKE) TRYALL outso=libsatlas.so \
33fa5a
-                libas="liblapack.a libf77blas.a libcblas.a libatlas.a" \
33fa5a
+                libas="liblapack.a libf77blas.a libcblas.a libatlas.a $(SLAPACKlib)" \
33fa5a
                 LIBINSTdir="$(LIBINSTdir)"
33fa5a
 #
33fa5a
 # Builds shared lib, not include fortran codes from LAPACK