summaryrefslogtreecommitdiffstats
path: root/fortran/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/src/Makefile.am')
-rw-r--r--fortran/src/Makefile.am6
1 files changed, 3 insertions, 3 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