Skip to content

Commit

Permalink
python syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jun 16, 2024
1 parent d5d3b1b commit 639050e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions recipes/libiconv/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,12 @@ def generate(self):
"x86_64": "x86_64-linux-android",
}[self.settings.get_safe("arch")]
api_level = self.settings.os.get_safe("api_level")
print(self.settings_build.os)
build_os = {

build_machine = "{}-x86_64".format({
"Linux": "linux",
"Macos": "darwin",
"Windows": "windows",
}[self.settings_build.os]
print(build_os)
build_machine = "{}-x86_64".format(build_os)

}[str(self.settings_build.os)])
toolchain = os.path.join(android_ndk_home, "toolchains", "llvm", "prebuilt", build_machine, "bin")

if self.settings_build.os == "Windows":
Expand Down

0 comments on commit 639050e

Please sign in to comment.