Skip to content

Commit

Permalink
Use list instead of tuple for arch macOS quirks
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed May 18, 2024
1 parent 919460f commit e10db67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py_build_cmake/config/quirks.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def config_quirks_mac(config: ValueReference):
archflags = os.getenv("ARCHFLAGS")
if not archflags:
return
archs = tuple(re.findall(r"-arch +(\S+)", archflags))
archs = list(re.findall(r"-arch +(\S+)", archflags))
if not archs:
logger.warning(
"ARCHFLAGS was set, but its value was not valid, so I'm ignoring it"
Expand Down

0 comments on commit e10db67

Please sign in to comment.