Browse Source

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.
tags/v0.2.10.rc1^2
David Anthoff 11 years ago
parent
commit
c6361d63c2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      exports/Makefile

+ 1
- 1
exports/Makefile View File

@@ -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)


Loading…
Cancel
Save