Skip to content

Commit

Permalink
Fix Mac cross builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahajha committed Nov 9, 2024
1 parent 06d1f7e commit 741f3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/mpdecimal/2.5.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 741f3b0

Please sign in to comment.