openblas: fix pkg-config alias name

Turns out the filename is important. It should be `cblas`, not
`openblas-cblas`.
This commit is contained in:
Timo Kaufmann 2018-09-03 23:56:40 +02:00
parent b910b697f6
commit 408eacbc89

View file

@ -140,7 +140,7 @@ stdenv.mkDerivation rec {
# Write pkgconfig aliases. Upstream report:
# https://github.com/xianyi/OpenBLAS/issues/1740
for alias in blas cblas lapack; do
cat <<EOF > $out/lib/pkgconfig/openblas-$alias.pc
cat <<EOF > $out/lib/pkgconfig/$alias.pc
Name: $alias
Version: ${version}
Description: $alias provided by the OpenBLAS package.