From: jfa Date: Thu, 1 Dec 2005 14:49:26 +0000 (+0000) Subject: PAL10718: Portability gfortran. Fix by Erwan ADAM. X-Git-Tag: BR_3_1_0_deb~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=02be3903899e20d92397ceff9ac3e69a69b42ee7;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@