summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2005-11-13 16:54:03 +0000
committerMarkus Dittrich <markusle@gentoo.org>2005-11-13 16:54:03 +0000
commitd345f965deb7b3e8f3f74dae9c336c50c619572f (patch)
treea9aca546631db6488d5edbede5c019284faa48e4 /sci-libs/blas-reference/blas-reference-19940131-r2.ebuild
parentBackport (diff)
downloadhistorical-d345f965deb7b3e8f3f74dae9c336c50c619572f.tar.gz
historical-d345f965deb7b3e8f3f74dae9c336c50c619572f.tar.bz2
historical-d345f965deb7b3e8f3f74dae9c336c50c619572f.zip
use libtool to link shared library when compiling with ifc, this closes bug #112390
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'sci-libs/blas-reference/blas-reference-19940131-r2.ebuild')
-rw-r--r--sci-libs/blas-reference/blas-reference-19940131-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/blas-reference/blas-reference-19940131-r2.ebuild b/sci-libs/blas-reference/blas-reference-19940131-r2.ebuild
index 55395c292d47..9432d0b09b6b 100644
--- a/sci-libs/blas-reference/blas-reference-19940131-r2.ebuild
+++ b/sci-libs/blas-reference/blas-reference-19940131-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-19940131-r2.ebuild,v 1.1 2005/11/13 05:42:14 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-19940131-r2.ebuild,v 1.2 2005/11/13 16:54:03 markusle Exp $
inherit eutils fortran
@@ -60,8 +60,8 @@ src_compile() {
if use ifc; then
ifc_info
make static FC="ifc" FFLAGS="${IFCFLAGS}" || die
- ifc -shared ${IFCFLAGS} -Wl,-soname,libblas.so.0 \
- -o libblas.so.0.0.0 *.lo || die
+ 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:
make libs FC="g77" FFLAGS="${CFLAGS}" \