diff options
author | Michal Klocek <michal.klocek@qt.io> | 2017-08-30 13:02:20 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2017-09-05 16:16:38 +0000 |
commit | 6d9fe6ba35024efc8e0a26435b51e25aa3ea7f09 (patch) | |
tree | 95a27a42c5ec80a109863ef460c5cec7c8f0e0f5 /mkspecs | |
parent | fe547d51e8f3feef433bfde77b17048c8aa9ed72 (diff) |
Add check for glibc > 2.16
Fix broken compilation due to "Unable to create small
static TLS block in shared library"
https://sourceware.org/bugzilla/show_bug.cgi?id=14898
Change-Id: I53840dbff22f4b10bdb32401f79889f6c313f470
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/configure.prf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf index 002a0375a..6e9a28e4d 100644 --- a/mkspecs/features/configure.prf +++ b/mkspecs/features/configure.prf @@ -64,6 +64,11 @@ defineTest(runConfigure) { } linux { + !qtConfig(system-glibc) { + skipBuild("A suitable version of libc could not be found. See: https://sourceware.org/bugzilla/show_bug.cgi?id=14898") + return(false) + } + QT_FOR_CONFIG += gui-private !config_khr:skipBuild("khronos development headers appear to be missing (mesa/libegl1-mesa-dev)") |