kumquat-buildroot/package/qt
Jörg Krause 92180f7fe1 qt: fix static linking
`-ldl` option is used unconditionally in `QMAKE_LIBS_DYNLOAD` while libdl is
not supported when libc is static. As the value of `QMAKE_LIBS_DYNLOAD` goes
into 'Libs.private' field of the pkgconfig files created by qmake, static
linking with qt will fail with:
  /usr/bin/ld: cannot find -ldl

Fix this issue by adding a build test to configure to check if libdl is
supported. `QMAKE_LIBS_DYNLOAD` in "src/corelib/plugin/plugin.pri" is now used
only if libdl is available.

Fixes:
http://autobuild.buildroot.net/results/459/4596b9c69cbc387f1071c730aaac76723afaa853/
http://autobuild.buildroot.net/results/459/4596b9c69cbc387f1071c730aaac76723afaa853/

Backported from Qt5:
f669ea0d54

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-15 09:42:16 +02:00
..
0001-configure.patch
0002-eglwsegl-use-system.patch
0003-fix-const-atomics.patch
0004-pthread_getattr_np.patch
0005-script-qtdbus-no-gui.patch
0006-Add-initial-support-of-ARC-architecture.patch
0007-Prevent-unaligned-access-on-ARC.patch
0008-Fix-conversion-constructor-error-for-legacy-c-compil.patch
0009-Fix-library-inclusion-order-when-building-statically.patch
0010-Fix-for-platform-socklen_t-on-other-C-libraries-than.patch
0011-Link-with-ldl-option-only-when-it-is-supported.patch qt: fix static linking 2016-04-15 09:42:16 +02:00
Config.gfx.in
Config.in
Config.keyboard.in
Config.mouse.in
Config.sql.in
powervr.ini
qt.hash
qt.mk