Browse Source

makewheel: update manylinux1 platform check for latest image

[skip ci]
rdb 7 years ago
parent
commit
0af1b9c988
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makewheel.py

+ 1 - 1
makepanda/makewheel.py

@@ -28,7 +28,7 @@ default_platform = get_platform()
 
 
 if default_platform.startswith("linux-"):
 if default_platform.startswith("linux-"):
     # Is this manylinux1?
     # Is this manylinux1?
-    if os.path.isfile("/lib/libc-2.5.so") and os.path.isdir("/opt/python"):
+    if (os.path.isfile("/lib/libc-2.5.so") or os.path.isfile("/lib64/libc-2.5.so")) and os.path.isdir("/opt/python"):
         default_platform = default_platform.replace("linux", "manylinux1")
         default_platform = default_platform.replace("linux", "manylinux1")