academic/umfpack: Fix underlinking against gfortran libraries.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2016-10-28 19:57:08 +02:00 committed by Willy Sudiarto Raharjo
parent 3b6f912b19
commit 5cadda23c1
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -463,8 +463,8 @@ new file mode 100644
+libumf_l_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
+
+if CHOLMOD
+libumf_i_la_LIBADD = $(CHOLMOD_LIBS)
+libumf_l_la_LIBADD = $(CHOLMOD_LIBS)
+libumf_i_la_LIBADD = $(CHOLMOD_LIBS) -lgfortran
+libumf_l_la_LIBADD = $(CHOLMOD_LIBS) -lgfortran
+else
+libumf_i_la_CPPFLAGS += -DNCHOLMOD
+libumf_l_la_CPPFLAGS += -DNCHOLMOD