From 741f3b0eebe3df61c19ddab314a224725b7b7f9c Mon Sep 17 00:00:00 2001 From: Ahajha Date: Sat, 9 Nov 2024 12:45:02 -0500 Subject: [PATCH] Fix Mac cross builds --- recipes/mpdecimal/2.5.x/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mpdecimal/2.5.x/conanfile.py b/recipes/mpdecimal/2.5.x/conanfile.py index ce8610550b172..db902a5df12f3 100644 --- a/recipes/mpdecimal/2.5.x/conanfile.py +++ b/recipes/mpdecimal/2.5.x/conanfile.py @@ -105,7 +105,7 @@ def generate(self): tc.generate() deps = AutotoolsDeps(self) - if is_apple_os(self) and self.settings.arch == "armv8": + if is_apple_os(self) and self.settings_build.arch == "armv8": deps.environment.append("LDFLAGS", ["-arch arm64"]) deps.environment.append("LDXXFLAGS", ["-arch arm64"]) deps.generate()