diff options
author | Benda Xu <heroxbd@gentoo.org> | 2017-06-06 13:01:34 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2017-06-06 13:11:25 +0900 |
commit | efaa7c2a861a79513bd80d95d773a8bd6752ba1e (patch) | |
tree | ca01c31a0db1b98ce0ed74b9973a5bf931e6fba2 /eclass | |
parent | sci-libs/cblas-reference: configure BLAS_LIBRARIES implicitly (diff) | |
download | sci-efaa7c2a861a79513bd80d95d773a8bd6752ba1e.tar.gz sci-efaa7c2a861a79513bd80d95d773a8bd6752ba1e.tar.bz2 sci-efaa7c2a861a79513bd80d95d773a8bd6752ba1e.zip |
numeric.eclass: use var reference in Libs and Cflags.
Closes: https://github.com/gentoo/sci/issues/709
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/numeric.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/numeric.eclass b/eclass/numeric.eclass index ec890c5bf..cb7354542 100644 --- a/eclass/numeric.eclass +++ b/eclass/numeric.eclass @@ -125,9 +125,9 @@ create_pkgconfig() { Requires: ${pcrequires} Requires.private: ${pcrequirespriv} Conflicts: ${pcconflicts} - Libs: -L"${pclibdir}" ${pclibs} + Libs: -L\${libdir} ${pclibs} Libs.private: ${pclibspriv} - Cflags: -I"${pcincldir}" ${pccflags} + Cflags: -I\${includedir} ${pccflags} EOF insinto /usr/$(get_libdir)/pkgconfig |