]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
PAL11268: Netgen portability on mandriva 2006. A fix by Erwan ADAM. OCC_development_generic_2006
authorjfa <jfa@opencascade.com>
Tue, 17 Jan 2006 12:16:48 +0000 (12:16 +0000)
committerjfa <jfa@opencascade.com>
Tue, 17 Jan 2006 12:16:48 +0000 (12:16 +0000)
src/NETGEN/Makefile.in

index 1ea92cced14f6317f960f9b596d9847fc9326185..e2092a8010053ba7385231253f3e49e051826b5c 100644 (file)
@@ -56,6 +56,10 @@ LIB_OBJ_LO = $(LIB_OBJ_O:%.o=%.lo)
 $(LIB): $(LIB_OBJ_O) $(LIB_OBJ_LO)
 LIB_OBJ = $(LIB_OBJ_LO)
 
+ifeq ($(F77),gfortran)
+LDFLAGS += -lgfortran
+else
 LDFLAGS += -lg2c
+endif
 
 MOSTLYCLEAN += $(LIB_OBJ_O)