From 02be3903899e20d92397ceff9ac3e69a69b42ee7 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 1 Dec 2005 14:49:26 +0000 Subject: [PATCH] PAL10718: Portability gfortran. Fix by Erwan ADAM. --- src/MEFISTO2/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) 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@