]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 6309bcccf75f00bfdd8c960eefed10483dea1ceb..d1c4033578716d4b86d52a8b6fdb4b2e951f386f 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@