diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 86011cb217..94215cba14 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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' diff --git a/makepanda/makewheel.py b/makepanda/makewheel.py index 124c44a713..f0cb5cda5d 100644 --- a/makepanda/makewheel.py +++ b/makepanda/makewheel.py @@ -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('.', '_')