Skip to content

Commit

Permalink
no uname on nt
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Apr 8, 2022
1 parent 1346a16 commit 7955326
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/mk_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,9 @@ def check_eol():
LINUX_X64=True
else:
LINUX_X64=False


if os.uname()[4] == 'arm64':
if os.name == 'posix' and os.uname()[4] == 'arm64':
IS_ARCH_ARM64 = True


Expand Down

0 comments on commit 7955326

Please sign in to comment.