From 3b6f912b19e3415eff68b2d46f9df92d1c94ab98 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 23 Oct 2016 11:51:45 +0200 Subject: [PATCH] academic/cholmod: Fix underlinking against gfortran libraries. Signed-off-by: Matteo Bernardini --- academic/cholmod/autotoolize.diff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/academic/cholmod/autotoolize.diff b/academic/cholmod/autotoolize.diff index e25303da87..14fd099f88 100644 --- a/academic/cholmod/autotoolize.diff +++ b/academic/cholmod/autotoolize.diff @@ -163,13 +163,13 @@ new file mode 100644 + cholmod_simple + +cholmod_demo_SOURCES = cholmod_demo.c -+cholmod_demo_LDADD = $(top_builddir)/libcholmod.la $(SUITESPARSECONFIG_LIBS) ++cholmod_demo_LDADD = $(top_builddir)/libcholmod.la $(SUITESPARSECONFIG_LIBS) -lgfortran + +cholmod_l_demo_SOURCES = cholmod_l_demo.c -+cholmod_l_demo_LDADD = $(top_builddir)/libcholmod.la $(SUITESPARSECONFIG_LIBS) ++cholmod_l_demo_LDADD = $(top_builddir)/libcholmod.la $(SUITESPARSECONFIG_LIBS) -lgfortran + +cholmod_simple_SOURCES = cholmod_simple.c -+cholmod_simple_LDADD = $(top_builddir)/libcholmod.la ++cholmod_simple_LDADD = $(top_builddir)/libcholmod.la -lgfortran + +check-local: $(check_PROGRAMS) $(dist_noinst_DATA) + ./cholmod_demo < $(srcdir)/Matrix/bcsstk01.tri