summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/acml/files')
-rw-r--r--sci-libs/acml/files/blas.pc.in2
-rw-r--r--sci-libs/acml/files/lapack.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/acml/files/blas.pc.in b/sci-libs/acml/files/blas.pc.in
index d9f7f4087943..523aabc1204c 100644
--- a/sci-libs/acml/files/blas.pc.in
+++ b/sci-libs/acml/files/blas.pc.in
@@ -7,5 +7,5 @@ Name: blas
Description: ACML implementations of the Basic Linear Algebra Subroutines
Version: @PV@
URL: http://developer.amd.com/acml.jsp
-Libs: -L${libdir} -lblas -lacml_mv @EXTLIBS@
+Libs: -Wl,--no-as-needed -L${libdir} @ACMLLIBS@ @EXTLIBS@
Cflags: @EXTFLAGS@
diff --git a/sci-libs/acml/files/lapack.pc.in b/sci-libs/acml/files/lapack.pc.in
index d2453f180759..48fef122dfe4 100644
--- a/sci-libs/acml/files/lapack.pc.in
+++ b/sci-libs/acml/files/lapack.pc.in
@@ -7,5 +7,5 @@ Name: lapack
Description: ACML implementation of the F77 Linear Algebra PACKage
Version: @PV@
URL: http://developer.amd.com/acml.jsp
-Libs: -L${libdir} -llapack -lacml_mv @EXTLIBS@
+Libs: -Wl,--no-as-needed -L${libdir} @ACMLLIBS@ @EXTLIBS@
Cflags: @EXTFLAGS@