From 166df22abe5c49b3a5950982bce148633fd634d4 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 17 Jan 2006 12:16:48 +0000 Subject: [PATCH] PAL11268: Netgen portability on mandriva 2006. A fix by Erwan ADAM. --- src/NETGEN/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) 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)