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