From 4a19255a5e64222da55cd28a3e0d7466ff233973 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 (cherry picked from commit 88a74de992b4d828b98a6e1906dcd61e2863f2f3) --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 57b158f16..8a1039a07 100644 --- a/src/Makefile +++ b/src/Makefile @@ -407,7 +407,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