diff --git a/deps/buildcore/scripts/pybb.py b/deps/buildcore/scripts/pybb.py index 098f378f..915aa5a0 100755 --- a/deps/buildcore/scripts/pybb.py +++ b/deps/buildcore/scripts/pybb.py @@ -116,7 +116,7 @@ def hostname() -> int: def host_env() -> int: - os_name = socket.gethostname().lower() + os_name = platform.system().lower() arch = platform.machine() if arch == 'amd64': arch = 'x86_64'