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