[libc++] Fix MacOS platform detection broken in Python 3
Since 88af3ddb, libc++ will prefer Python 3 when available. It is available on Apple platforms, so subprocess.check_output will return bytes instead of str. This lead to comparisons against str to be false, and the MacOS platform not being detected properly.
Loading
Please sign in to comment