mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
makepanda: fix detection of manylinux platform
[skip ci]
This commit is contained in:
parent
3a206ed7c4
commit
79d8b82cbb
@ -438,7 +438,7 @@ elif target == 'darwin':
|
|||||||
|
|
||||||
PLATFORM = 'macosx-{0}.{1}-{2}'.format(osxver[0], osxver[1], arch_tag)
|
PLATFORM = 'macosx-{0}.{1}-{2}'.format(osxver[0], osxver[1], arch_tag)
|
||||||
|
|
||||||
elif target == 'linux' and os.path.isfile("/lib/libc-2.5.so") and os.path.isdir("/opt/python"):
|
elif target == 'linux' and (os.path.isfile("/lib/libc-2.5.so") or os.path.isfile("/lib64/libc-2.5.so")) and os.path.isdir("/opt/python"):
|
||||||
# This is manylinux1. A bit of a sloppy check, though.
|
# This is manylinux1. A bit of a sloppy check, though.
|
||||||
if GetTargetArch() in ('x86_64', 'amd64'):
|
if GetTargetArch() in ('x86_64', 'amd64'):
|
||||||
PLATFORM = 'manylinux1-x86_64'
|
PLATFORM = 'manylinux1-x86_64'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user