More comprehensive is_arm check
Apparently on some Linux machines platform.machine() is 'aarch64' not 'arm64'.
This commit is contained in:
parent
f46425c2f9
commit
f2075f99fd
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -49,7 +49,7 @@
|
|||
is_netbsd = 'netbsd' in _plat
|
||||
is_dragonflybsd = 'dragonfly' in _plat
|
||||
is_bsd = is_freebsd or is_netbsd or is_dragonflybsd or is_openbsd
|
||||
is_arm = platform.processor() == 'arm' or platform.machine() == 'arm64'
|
||||
is_arm = platform.processor() == 'arm' or platform.machine() in ('arm64', 'aarch64')
|
||||
Env = glfw.Env
|
||||
env = Env()
|
||||
PKGCONFIG = os.environ.get('PKGCONFIG_EXE', 'pkg-config')
|
||||
|
|
|
|||
Loading…
Reference in a new issue