diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-26 22:28:23 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-26 22:28:23 (GMT) |
commit | d7883f21bf2d0d4b7b21397b42520a381364f30f (patch) | |
tree | 66d858b5a1b1d44f2db1e7f3b240eb679fcf8367 /fortran/test/Makefile.in | |
parent | a9b7b7d971cc714e09647794a2d688463c507666 (diff) | |
download | hdf5-d7883f21bf2d0d4b7b21397b42520a381364f30f.zip hdf5-d7883f21bf2d0d4b7b21397b42520a381364f30f.tar.gz hdf5-d7883f21bf2d0d4b7b21397b42520a381364f30f.tar.bz2 |
[svn-r10098] Purpose:
Bug fix
Description:
Some machines and compilers were having trouble creating fortran libraries
as shared libraries.
Solution:
Added flag in Makefiles.am to create fortran libraries as shared libraries.
(This is how HDF5 was set up before automake changes; I forgot to add
these flags, and it didn't cause a problem until now.)
Platforms tested:
sleipnir, eirene, verbena
Misc. update:
Diffstat (limited to 'fortran/test/Makefile.in')
-rw-r--r-- | fortran/test/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fortran/test/Makefile.in b/fortran/test/Makefile.in index 2f345fb..d9ad763 100644 --- a/fortran/test/Makefile.in +++ b/fortran/test/Makefile.in @@ -200,6 +200,9 @@ INCLUDES = -I$(top_srcdir)/src # The Fortran test library lib_LTLIBRARIES = libh5test_fortran.la +# Fortran library is linked statically to solve a build problem. +libh5test_fortran_la_LDFLAGS = -static + # Our main targets, the tests themselves TEST_PROG = fortranlib_test fflush1 fflush2 check_PROGRAMS = $(TEST_PROG) @@ -209,8 +212,6 @@ libh5test_fortran_la_SOURCES = fortranlib_test.f90 tH5F.f90 tH5D.f90 \ tH5P.f90 tH5A.f90 tH5I.f90 tH5G.f90 tH5E.f90 tf.f90 t.c -libh5test_fortran_la_LDFLAGS = -static - # Source files are used for both the library and fortranlib_test. # Automake will complain about this without the following workaround. fortranlib_test_FFLAGS = $(AM_FFLAGS) |