From 118d434c221bd0a83bc10908907f9f3739bd9610 Mon Sep 17 00:00:00 2001
From: Markus Blatt <mblatt@dune-project.org>
Date: Thu, 29 Mar 2012 14:13:18 +0000
Subject: [PATCH] If configured with DUNE_LDFLAGS=all-static force static
 linkage even for the tests. Note that this breaks static compilation of
 fmatrixtest because of missing fortran library names in LAPACK_LIBS!

[[Imported from SVN: r6599]]
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 68102c62c..194b9b333 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,7 @@ DUNE_CHECK_ALL
 AC_SUBST([DUNE_COMMON_ROOT], '$(abs_top_srcdir)')
 AC_SUBST([DUNE_COMMON_BIN], '$(abs_top_srcdir)/bin/')
 AC_SUBST([AM_CPPFLAGS], '-I$(top_srcdir)')
+AC_SUBST([AM_LDFLAGS], '$(DUNE_LDFLAGS)')
 AC_SUBST([LDADD], '$(top_builddir)/lib/libdunecommon.la')
 
 # write output
-- 
GitLab