From e7db1e2737bfc6fa38c2a135bd70991c9f3f82c6 Mon Sep 17 00:00:00 2001 From: Anastasia Vasilyeva Date: Sun, 22 Sep 2024 00:43:35 -0400 Subject: [PATCH] Fix build on MSVC --- recipes/mpdecimal/2.5.x/conanfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/mpdecimal/2.5.x/conanfile.py b/recipes/mpdecimal/2.5.x/conanfile.py index ce8610550b172..6e2ed5ab3c791 100644 --- a/recipes/mpdecimal/2.5.x/conanfile.py +++ b/recipes/mpdecimal/2.5.x/conanfile.py @@ -63,7 +63,8 @@ def validate(self): "A shared libmpdec++ is not possible on Windows (due to non-exportable thread local storage)") def build_requirements(self): - if is_msvc(self): + # Use MSYS2 only for MSVC + if not is_msvc(self): self.tool_requires("automake/1.16.5") else: # required to support windows as a build machine