diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2005-01-18 17:26:20 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2005-01-18 17:26:20 (GMT) |
commit | f505b1c23ca88153aa04bc531fb297e596ae2bc9 (patch) | |
tree | 0cd5d18d57a9a7dab053e922f696ef22efcb80e4 | |
parent | a2f3dc2accdd212bd53ad94b97bdaa766b064691 (diff) | |
download | hdf5-f505b1c23ca88153aa04bc531fb297e596ae2bc9.zip hdf5-f505b1c23ca88153aa04bc531fb297e596ae2bc9.tar.gz hdf5-f505b1c23ca88153aa04bc531fb297e596ae2bc9.tar.bz2 |
[svn-r9831] Purpose: Enhancement
Description: h5fc didn't know what to do when *.a file is provided
Solution: Added *.a to the link flags
Platforms tested: arabica
Misc. update:
-rwxr-xr-x | fortran/src/h5fc.in | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/fortran/src/h5fc.in b/fortran/src/h5fc.in index 0d80ae8..5ec7c91 100755 --- a/fortran/src/h5fc.in +++ b/fortran/src/h5fc.in @@ -185,14 +185,17 @@ for arg in $@ ; do do_link="yes" link_objs="$link_objs $arg" fi + elif test "x$ext" = "x.a"; then + # This is an archive that we're linking in + libraries=" $libraries $arg " + else + compile_args="$compile_args $arg" + link_args="$link_args $arg" + fi else compile_args="$compile_args $arg" link_args="$link_args $arg" fi - else - compile_args="$compile_args $arg" - link_args="$link_args $arg" - fi ;; esac done |