From c6361d63c27d0daaf863de4c21a086366852ff3a Mon Sep 17 00:00:00 2001 From: David Anthoff Date: Fri, 13 Jun 2014 21:10:27 -0700 Subject: [PATCH] Add -lgfortran flag to gcc call in a makefile Adding $(EXTRALIB) adds this flag when things are built with msys2 on windows. Without this the build fails. --- exports/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exports/Makefile b/exports/Makefile index 3ef20b3..70fde4f 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -85,7 +85,7 @@ dll : ../$(LIBDLLNAME) $(RANLIB) ../$(LIBNAME) $(CC) $(CFLAGS) $(LDFLAGS) libopenblas.def dllinit.$(SUFFIX) \ -shared -o ../$(LIBDLLNAME) -Wl,--out-implib,../$(LIBPREFIX).lib \ - -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(FEXTRALIB) + -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(FEXTRALIB) $(EXTRALIB) libopenblas.def : gensymbol perl ./gensymbol win2k $(ARCH) dummy $(EXPRECISION) $(NO_CBLAS) $(NO_LAPACK) $(NO_LAPACKE) $(NEED2UNDERSCORES) $(ONLY_CBLAS) > $(@F) -- 2.7.4