From: jfa Date: Thu, 1 Dec 2005 14:48:54 +0000 (+0000) Subject: PAL10718: Portability gfortran. Fix by Erwan ADAM. X-Git-Tag: T_2_2_7pre~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=90722122adc3511e16b54eb629ca3223b0cbffa9;p=modules%2Fsmesh.git PAL10718: Portability gfortran. Fix by Erwan ADAM. --- diff --git a/src/MEFISTO2/Makefile.in b/src/MEFISTO2/Makefile.in index 6309bcccf..d1c403357 100644 --- a/src/MEFISTO2/Makefile.in +++ b/src/MEFISTO2/Makefile.in @@ -26,7 +26,11 @@ LIB_SERVER_IDL = CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome +ifeq ($(F77),gfortran) +LDFLAGS += -lgfortran +else LDFLAGS += -lg2c +endif @CONCLUDE@