Skip to content

Commit

Permalink
python syntax update
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jun 16, 2024
1 parent 4da3ca7 commit d5d3b1b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes/libiconv/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,13 @@ def generate(self):
}[self.settings.get_safe("arch")]
api_level = self.settings.os.get_safe("api_level")
print(self.settings_build.os)
build_machine = "{}-x86_64".format({
build_os = {
"Linux": "linux",
"Macos": "darwin",
"Windows": "windows",
}[self.settings_build.os])
}[self.settings_build.os]
print(build_os)
build_machine = "{}-x86_64".format(build_os)

toolchain = os.path.join(android_ndk_home, "toolchains", "llvm", "prebuilt", build_machine, "bin")

Expand Down

0 comments on commit d5d3b1b

Please sign in to comment.