summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-10-25 15:33:33 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-10-25 15:33:33 (GMT)
commit31543659c122169811498ba5dc08932dc1a61df7 (patch)
treef244760167e10d3a8aa3e711d17eac536a55524b
parent4bf0b5398b451682130eb1a75a53dbd21f5dd0b5 (diff)
downloadhdf5-31543659c122169811498ba5dc08932dc1a61df7.zip
hdf5-31543659c122169811498ba5dc08932dc1a61df7.tar.gz
hdf5-31543659c122169811498ba5dc08932dc1a61df7.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 aac3681..d4c8551 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3048,7 +3048,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