Salome HOME
PAL10718: Portability gfortran. Fix by Erwan ADAM.
authorjfa <jfa@opencascade.com>
Thu, 1 Dec 2005 14:49:26 +0000 (14:49 +0000)
committerjfa <jfa@opencascade.com>
Thu, 1 Dec 2005 14:49:26 +0000 (14:49 +0000)
src/MEFISTO2/Makefile.in

index 6309bcc..d1c4033 100644 (file)
@@ -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@