mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
Merge pull request #725 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '26ae202faa4a761c307bf15eacc28f96bedc7859': HDFFV-10037: fixed wrong C link flags
This commit is contained in:
commit
084704392f
@ -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…
x
Reference in New Issue
Block a user