From f38d37a188ef570d3f6fe440276fdd09cb648035 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 22 Jun 2023 15:21:28 +0200
Subject: [PATCH] Build system: improvements to Meson cross-file for Windows
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

– enforce POSIX version of the MinGW cross-compiler
– add strip binary

[skip ci]
---
 windows-cross.ini | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/windows-cross.ini b/windows-cross.ini
index 5b673b07..d0319221 100644
--- a/windows-cross.ini
+++ b/windows-cross.ini
@@ -2,7 +2,8 @@
 # NB: The boost_root property must be set, possibly through a second cross file
 
 [binaries]
-cpp = 'x86_64-w64-mingw32-g++'
+cpp = 'x86_64-w64-mingw32-g++-posix'
+strip = 'x86_64-w64-mingw32-strip'
 
 [host_machine]
 system = 'windows'
-- 
GitLab