summaryrefslogtreecommitdiff
path: root/academic/cholmod
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-10-23 11:51:45 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-29 06:58:11 +0700
commit3b6f912b19e3415eff68b2d46f9df92d1c94ab98 (patch)
tree0a14f6f2449c8cd29bdb67fe663ef2465f332c3b /academic/cholmod
parentc3493cac86069c25fb4c5bc2b5871ae51280209c (diff)
downloadslackbuilds-3b6f912b19e3415eff68b2d46f9df92d1c94ab98.tar.gz
academic/cholmod: Fix underlinking against gfortran libraries.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/cholmod')
-rw-r--r--academic/cholmod/autotoolize.diff6
1 files 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