From 1e0bbea86803041d0e693fcdd73b0a08f2431ffd Mon Sep 17 00:00:00 2001 From: j-bo Date: Wed, 28 Oct 2015 15:10:42 +0100 Subject: [PATCH] Refs #676. Fixed ONLY_CBLAS=1 compiling bug on windows. --- exports/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exports/Makefile b/exports/Makefile index 177e975ea..b549301bf 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -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::