diff options
Diffstat (limited to 'fortran/src')
-rw-r--r-- | fortran/src/Makefile.am | 6 | ||||
-rw-r--r-- | fortran/src/Makefile.in | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am index b7445d4..351ecbd 100644 --- a/fortran/src/Makefile.am +++ b/fortran/src/Makefile.am @@ -24,12 +24,12 @@ include $(top_srcdir)/config/commence.am INCLUDES = -I$(top_srcdir)/src AM_FFLAGS=-I$(top_srcdir)/src +# Fortran libraries are linked statically to solve a build problem. +AM_LDFLAGS=-static + # This is our main target, the fortran library lib_LTLIBRARIES=libhdf5_fortran.la -# Fortran library is linked statically to solve a build problem. -libhdf5_fortran_la_LDFLAGS=-static - # Include HDF5.f90 if parallel is disabled, HDF5mpiof* if parallel is enabled if BUILD_PARALLEL_CONDITIONAL PARALLEL_COND_SRC = H5FDmpiof.c HDF5mpio.f90 H5FDmpioff.f90 diff --git a/fortran/src/Makefile.in b/fortran/src/Makefile.in index 4aba994..a737d0a 100644 --- a/fortran/src/Makefile.in +++ b/fortran/src/Makefile.in @@ -198,12 +198,12 @@ F9XMODFLAG = @F9XMODFLAG@ INCLUDES = -I$(top_srcdir)/src AM_FFLAGS = -I$(top_srcdir)/src +# Fortran libraries are linked statically to solve a build problem. +AM_LDFLAGS = -static + # This is our main target, the fortran library lib_LTLIBRARIES = libhdf5_fortran.la -# Fortran library is linked statically to solve a build problem. -libhdf5_fortran_la_LDFLAGS = -static - # Include HDF5.f90 if parallel is disabled, HDF5mpiof* if parallel is enabled @BUILD_PARALLEL_CONDITIONAL_TRUE@PARALLEL_COND_SRC = H5FDmpiof.c HDF5mpio.f90 H5FDmpioff.f90 @BUILD_PARALLEL_CONDITIONAL_FALSE@PARALLEL_COND_SRC = HDF5.f90 @@ -249,6 +249,7 @@ CONFIG_HEADER = $(top_builddir)/src/H5config.h CONFIG_CLEAN_FILES = h5fc H5fortran_types.f90 libhdf5_fortran.settings LTLIBRARIES = $(lib_LTLIBRARIES) +libhdf5_fortran_la_LDFLAGS = libhdf5_fortran_la_LIBADD = @BUILD_PARALLEL_CONDITIONAL_TRUE@am__objects_1 = H5FDmpiof.lo \ @BUILD_PARALLEL_CONDITIONAL_TRUE@ HDF5mpio.lo H5FDmpioff.lo |