mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '084704392fa93d1569861c53504e89236468a3b6': HDFFV-10037: fixed wrong C link flags
This commit is contained in:
commit
a7d0090a86
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user