From: jfa Date: Tue, 17 Jan 2006 12:16:48 +0000 (+0000) Subject: PAL11268: Netgen portability on mandriva 2006. A fix by Erwan ADAM. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FOCC_development_generic_2006;p=plugins%2Fnetgenplugin.git PAL11268: Netgen portability on mandriva 2006. A fix by Erwan ADAM. --- diff --git a/src/NETGEN/Makefile.in b/src/NETGEN/Makefile.in index 1ea92cc..e2092a8 100644 --- a/src/NETGEN/Makefile.in +++ b/src/NETGEN/Makefile.in @@ -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)