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