Refs #676. Fixed ONLY_CBLAS=1 compiling bug on windows.
authorj-bo <j-bo@users.noreply.github.com>
Wed, 28 Oct 2015 14:10:42 +0000 (15:10 +0100)
committerj-bo <j-bo@users.noreply.github.com>
Wed, 28 Oct 2015 14:10:42 +0000 (15:10 +0100)
exports/Makefile

index 177e975..b549301 100644 (file)
@@ -28,8 +28,10 @@ endif
 
 ifeq ($(OSNAME), WINNT)
 ifeq ($(F_COMPILER), GFORTRAN)
+ifndef ONLY_CBLAS
 EXTRALIB += -lgfortran
 endif
+endif
 ifeq ($(USE_OPENMP), 1)
 ifeq ($(C_COMPILER), GCC)
 EXTRALIB += -lgomp
@@ -39,9 +41,11 @@ endif
 
 ifeq ($(OSNAME), CYGWIN_NT)
 ifeq ($(F_COMPILER), GFORTRAN)
+ifndef ONLY_CBLAS
 EXTRALIB += -lgfortran
 endif
 endif
+endif
 
 all::