summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-10-25 15:32:33 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-10-25 15:32:33 (GMT)
commit26ae202faa4a761c307bf15eacc28f96bedc7859 (patch)
treec3c231e55b7b60267aba5440279042450bd226a9
parentc34c130fe57fd3e57bed8393603d5365d8137636 (diff)
downloadhdf5-26ae202faa4a761c307bf15eacc28f96bedc7859.zip
hdf5-26ae202faa4a761c307bf15eacc28f96bedc7859.tar.gz
hdf5-26ae202faa4a761c307bf15eacc28f96bedc7859.tar.bz2
HDFFV-10037: fixed wrong C link flags
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ed7727b..3dbd95c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3518,7 +3518,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
case "`uname`" in
Linux*)
if test "X$FC_BASENAME" = "Xnagfor"; then
- cat libtool | awk '/NAG_Fortran/{flag=1}flag&&/wl=/{$NF="wl=\"-Wl,Wl,,\"";flag=0}1' > libtool.tmp && mv -f libtool.tmp libtool && chmod 755 libtool
+ cat libtool | awk '/BEGIN LIBTOOL TAG CONFIG: FC/{flag=1}flag&&/wl=/{$NF="wl=\"-Wl,-Wl,,\"";flag=0}1' > libtool.tmp && mv -f libtool.tmp libtool && chmod 755 libtool
fi
;;
esac