From ad7e96c702d626d69cb368fb9713584e66daabe3 Mon Sep 17 00:00:00 2001
From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr>
Date: Thu, 27 Jun 2019 13:45:51 +0200
Subject: [PATCH] Philippe 27/06/2019: use Fortran compiler instead of C one
 for libs4py linking This allows successful compilation with (at least) ifort
 and gfortran

---
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile b/src/Makefile
index 0e20e4a2a..3d140df7d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -408,7 +408,7 @@ $(OBJDIR_MASTER)/spll_lockoff.o $(OBJDIR_MASTER)/spll_lockon.o $(OBJDIR_MASTER)/
 $(OBJDIR_MASTER)/fswap8buff.o $(OBJDIR_MASTER)/spll_remark2.o
 
 libs4py.so : progmaster
-	$(CC) -shared $(LDFLAGS) -o $(OBJDIR_MASTER)/$@ $(OBJ_S4PY) $(LIBS)
+	$(F90) -shared $(LDFLAGS) -o $(OBJDIR_MASTER)/$@ $(OBJ_S4PY) $(LIBS)
 endif
 ##########################################################
 #                                                        #
-- 
GitLab