mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 07:03:36 -04:00
Correct location searched for 64-bit libc-2.24
This commit is contained in:
parent
524e2977ff
commit
e3a49050a0
@ -497,7 +497,7 @@ elif target == 'linux' and (os.path.isfile("/lib/libc-2.17.so") or os.path.isfil
|
||||
else:
|
||||
PLATFORM = 'manylinux2014-i686'
|
||||
|
||||
elif target == 'linux' and (os.path.isfile("/lib/i386-linux-gnu/libc-2.24.so") or os.path.isfile("/lib/x86_64/libc-2.24.so")) and os.path.isdir("/opt/python"):
|
||||
elif target == 'linux' and (os.path.isfile("/lib/i386-linux-gnu/libc-2.24.so") or os.path.isfile("/lib/x86_64-linux-gnu/libc-2.24.so")) and os.path.isdir("/opt/python"):
|
||||
# Same sloppy check for manylinux_2_24.
|
||||
if GetTargetArch() in ('x86_64', 'amd64'):
|
||||
PLATFORM = 'manylinux_2_24-x86_64'
|
||||
|
@ -558,7 +558,7 @@ def makewheel(version, output_dir, platform=None):
|
||||
platform = platform.replace("linux", "manylinux2010")
|
||||
elif os.path.isfile("/lib/libc-2.17.so") or os.path.isfile("/lib64/libc-2.17.so"):
|
||||
platform = platform.replace("linux", "manylinux2014")
|
||||
elif os.path.isfile("/lib/i386-linux-gnu/libc-2.24.so") or os.path.isfile("/lib/x86_64/libc-2.24.so"):
|
||||
elif os.path.isfile("/lib/i386-linux-gnu/libc-2.24.so") or os.path.isfile("/lib/x86_64-linux-gnu/libc-2.24.so"):
|
||||
platform = platform.replace("linux", "manylinux_2_24")
|
||||
|
||||
platform = platform.replace('-', '_').replace('.', '_')
|
||||
|
Loading…
x
Reference in New Issue
Block a user