--- /home/markus/gentoo-development/gentoo-x86/sci-libs/blas-reference/blas-reference-19940131-r2.ebuild 2005-11-13 05:42:14.000000000 +0000 +++ blas-reference-19940131-r2.ebuild 2005-11-13 13:03:27.000000000 +0000 @@ -60,7 +60,9 @@ if use ifc; then ifc_info make static FC="ifc" FFLAGS="${IFCFLAGS}" || die - ifc -shared ${IFCFLAGS} -Wl,-soname,libblas.so.0 \ + + # use libtool to link shared library + libtool --tag=F77 --mode=link ifc -shared ${IFCFLAGS} -Wl,-soname,libblas.so.0 \ -o libblas.so.0.0.0 *.lo || die else # libg2c is required to link to libblas.so using ifc: