diff --git a/exports/Makefile b/exports/Makefile index 5219560ee..15041be86 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -22,6 +22,11 @@ ifeq ($(OSNAME), WINNT) ifeq ($(F_COMPILER), GFORTRAN) EXTRALIB += -lgfortran endif +ifeq ($(USE_OPENMP), 1) +ifeq ($(C_COMPILER), GCC) +EXTRALIB += -lgomp +endif +endif endif ifeq ($(OSNAME), CYGWIN_NT)