summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-07-05 09:58:50 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-07-05 09:58:50 +0200
commit7c3771f0b1f426cbf465268b57f2a33ed9b9bbe3 (patch)
tree01f070518268b406499fb606da0a258106b9d44a /scripts
parentb272fbb0e5a4692544ce7b2a1062f45013251739 (diff)
downloadqutebrowser-7c3771f0b1f426cbf465268b57f2a33ed9b9bbe3.tar.gz
qutebrowser-7c3771f0b1f426cbf465268b57f2a33ed9b9bbe3.zip
Add glibc check to mkvenv.py
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkvenv.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py
index d5cd5f5d7..7f6920bb8 100755
--- a/scripts/mkvenv.py
+++ b/scripts/mkvenv.py
@@ -238,6 +238,9 @@ def install_pyqt_binary(venv_dir: pathlib.Path, version: str) -> None:
utils.print_error(
f"{platform.machine()} is not a supported architecture for PyQt5 binaries "
f"on {sys.platform}, this will most likely fail.")
+ elif sys.platform == 'linux' and platform.libc_ver()[0] != 'glibc':
+ utils.print_error("Non-glibc Linux is not a supported platform for PyQt5 "
+ "binaries, this will most likely fail.")
pip_install(venv_dir, '-r', pyqt_requirements_file(version),
'--only-binary', 'PyQt5,PyQtWebEngine')