Skip to content

Commit

Permalink
cc65: fix issue on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Aug 16, 2023
1 parent ef0f3b9 commit 041dc91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/cc65/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def layout(self):
basic_layout(self, src_folder="src")

def package_id(self):
if str(self.info.settings.compiler) in ["msvc", "Visual Studio"]:
if self.settings.arch == "x86_64":
if is_msvc(self):
if self.info.settings.arch == "x86_64":
self.info.settings.arch = "x86"
del self.info.settings.compiler

Expand Down

0 comments on commit 041dc91

Please sign in to comment.