diff --git a/recipes/libiconv/all/conanfile.py b/recipes/libiconv/all/conanfile.py index fdbbbf1..71b1aae 100644 --- a/recipes/libiconv/all/conanfile.py +++ b/recipes/libiconv/all/conanfile.py @@ -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")