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()