From 2573bb654e49a0bfb00ced6446cacae3a41fd776 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 4 Dec 2013 12:16:49 +0100 Subject: Do not try to build QtWebKit as a static library QtWebKit is too large to be linked as a static library on most platforms, since static libraries are typically limited to 4Gbyte even on 64bit tool chains (http://sourceware.org/bugzilla/show_bug.cgi?id=14625). The GNU ar thin archives do not have that limitation however. Task-number: QTBUG-32309 Change-Id: Ia290ecb6f54fc0a0482f17c6d9dc2ad0c810b3b3 Reviewed-by: Oswald Buddenhagen Reviewed-by: Jocelyn Turcotte --- Tools/qmake/mkspecs/features/configure.prf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/qmake/mkspecs/features/configure.prf b/Tools/qmake/mkspecs/features/configure.prf index 6b1a1d015..f0ceba512 100644 --- a/Tools/qmake/mkspecs/features/configure.prf +++ b/Tools/qmake/mkspecs/features/configure.prf @@ -116,6 +116,9 @@ defineTest(finalizeConfigure) { production_build:blackberry|qnx { addReasonForSkippingBuild("Build not supported on BB10/QNX yet.") } + !gnu_thin_archives:contains(QT_CONFIG, static) { + addReasonForSkippingBuild("QtWebKit cannot be built as a static library on this platform. Check your configuration in qtbase/config.summary.") + } requiredPrograms = gperf python perl bison ruby flex for(program, requiredPrograms): \ !programExistsInPath($$program): \ -- cgit v1.2.3