2215b8a75e
Even though we have some specific code to support building Qt5 for static-only configurations, it doesn't work. The first problem is that our custom qmake.conf always passes -ldl, which makes a number of Qt5 config.tests fail at configure time. Once this problem is fixed by removing -ldl from QMAKE_LIBS and adding it to QMAKE_LIBS_DYNLOAD instead, the next problem is that the plugin infrastructure of Qt5 assumes that Linux has dynamic library support: the qlibrary_unix.cpp file includes <dlfcn.h>, and the only condition for this file to not be included is: Until recently, building Qt5 statically was working because our C library was not built static-only: it provided <dlfcn.h> and libdl.so. But now that we have a really static only toolchain, Qt5 no longer builds. The easiest solution is to simply make Qt5 depend on dynamic library support. Fixes: http://autobuild.buildroot.net/results/538/538e0325adba9fabbe4ec8e550fbb6a7219f5e7a/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> |
||
---|---|---|
.. | ||
0001-Force_egl_visual_ID_33.patch | ||
0002-mkspecs-files.patch | ||
0003-xcb-egl-fixes.patch | ||
0004-no-gold-linker-for-host-build.patch | ||
0005-forkd-disable-eventfd-for-uclibc.patch | ||
0006-eglfs-rasp-pi-header-inclusion.patch | ||
0007-big_endian-fix_destformat.patch | ||
0008-QtGui-force-image-dir-in-include_path.patch | ||
Config.in | ||
qt5base.hash | ||
qt5base.mk |