diff options
author | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-05-18 21:32:26 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-05-18 21:32:26 (GMT) |
commit | 2b2a1d605e0f556fcdf38345420047b5776c7ba2 (patch) | |
tree | bcbb7fd30eb4540b77ae76b4169dca2518e55d81 /configure.ac | |
parent | 13bedd4c4a5f4d3c5ae482aba8fababa19f68157 (diff) | |
download | hdf5-2b2a1d605e0f556fcdf38345420047b5776c7ba2.zip hdf5-2b2a1d605e0f556fcdf38345420047b5776c7ba2.tar.gz hdf5-2b2a1d605e0f556fcdf38345420047b5776c7ba2.tar.bz2 |
Fix for shared fortran libraries on mac (HDFFV-2772).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index d0aeda9..458a3d2 100644 --- a/configure.ac +++ b/configure.ac @@ -919,12 +919,10 @@ if test "X${HDF_FORTRAN}" = "Xyes" && test "X${enable_shared}" != "Xno"; then AC_MSG_CHECKING([if shared Fortran libraries are supported]) H5_FORTRAN_SHARED="yes" - ## Disable fortran shared libraries on Mac. (MAM - 03/30/11) - + ## tell libtool to do the right thing with COMMON symbols case "`uname`" in Darwin*) - H5_FORTRAN_SHARED="no" - CHECK_WARN="Shared Fortran libraries not currently supported on Mac." + H5_LDFLAGS="$H5_LDFLAGS -Wl,-commons,use_dylibs" ;; esac |