Closed stefanozampini closed 2 years ago
Also, UMFPACK/Demo/Makefile
doesn't seem to use LDFLAGS at all, this should fix it.
diff --git a/UMFPACK/Demo/Makefile b/UMFPACK/Demo/Makefile
index c575fa81..0598fb87 100644
--- a/UMFPACK/Demo/Makefile
+++ b/UMFPACK/Demo/Makefile
@@ -27,7 +27,7 @@ endif
C = $(CC) $(CF) $(UMFPACK_CONFIG) $(CONFIG_PARTITION) \
-I../../include
-LIBS = $(LDLIBS) -L../../lib -lumfpack -lamd -lsuitesparseconfig \
+LIBS = $(LDFLAGS) $(LDLIBS) -L../../lib -lumfpack -lamd -lsuitesparseconfig \
$(LIB_WITH_CHOLMOD) $(LAPACK) $(BLAS)
libs: metis
The following patch fixes the issue