From: jfa Date: Tue, 17 Jan 2006 12:16:36 +0000 (+0000) Subject: PAL11268: Netgen portability on mandriva 2006. A fix by Erwan ADAM. X-Git-Tag: T2_2_9pre~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6962b1cd90766f1ae5e2eb6be24602a3e08c7293;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)