summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-10-25 17:55:02 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-10-25 17:55:02 (GMT)
commit01a092a911cba3800bb839122b7c5217cec12de3 (patch)
tree5d537ac3b4993c3bc5bfc444c18aa4bc777e55d2
parent31543659c122169811498ba5dc08932dc1a61df7 (diff)
downloadhdf5-01a092a911cba3800bb839122b7c5217cec12de3.zip
hdf5-01a092a911cba3800bb839122b7c5217cec12de3.tar.gz
hdf5-01a092a911cba3800bb839122b7c5217cec12de3.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 d4c8551..4164718 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 '/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
+ 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