Path to this page:
Subject: CVS commit: pkgsrc/math/lapack
From: Ryo ONODERA
Date: 2021-04-21 15:53:19
Message id: 20210421135319.4109AFA95@cvs.NetBSD.org
Log Message:
cblas: Fix link to Fortran libraries by using Fortran compiler as linker
On NetBSD.
In PKGSRC_FORTRAM=gfortran case, libcblas has no RPATH=/usr/pkg/gccXX/lib
and libgfortran and libquadmath are not found.
In PKGSRC_FORTRAN=g95 case, libcblas has no
RPATH=/usr/pkg/lib/gcc-lib/x86_64--netbsd/4.1.2 and libf95 is not found.
Use Fortran compiler as linker instread of C compiler to fix link.
Files: