From a9e9cfac5e8d7f5b6d1bf91c99db202b810d449a Mon Sep 17 00:00:00 2001
From: Juan Escobar <escj@aero.obs-mip.fr>
Date: Thu, 6 May 2021 18:51:54 +0200
Subject: [PATCH] Juan 6/05/2021: move build of eccode to OBJDIR_MASTER <->
 better management of different compiler version

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

diff --git a/src/Makefile.MESONH.mk b/src/Makefile.MESONH.mk
index c7ee64669..cf8177a06 100644
--- a/src/Makefile.MESONH.mk
+++ b/src/Makefile.MESONH.mk
@@ -439,7 +439,7 @@ endif
 ##########################################################
 ifneq "$(MNH_GRIBAPI)" "yes"
 DIR_ECCODES_SRC?=${SRC_MESONH}/src/LIB/eccodes-${VERSION_ECCODES}-Source
-DIR_ECCODES_BUILD?=${SRC_MESONH}/src/LIB/eccodes-${VERSION_ECCODES}-${ARCH}-R${MNH_REAL}I${MNH_INT}
+DIR_ECCODES_BUILD?=${OBJDIR_MASTER}/build_eccodes-${VERSION_ECCODES}
 DIR_ECCODES_INSTALL?=${OBJDIR_MASTER}/ECCODES-${VERSION_ECCODES}
 ECCODES_MOD?=${DIR_ECCODES_INSTALL}/include/grib_api.mod
 #
-- 
GitLab