diff options
| author | Bernhard Rosenkränzer <bero@lindev.ch> | 2023-02-25 19:10:06 +0100 |
|---|---|---|
| committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-04-11 15:19:22 +0200 |
| commit | 8f8be55c155edcfbec8b798d4eb7e084ae88bc88 (patch) | |
| tree | 3eb2b8d93b1be2d470126534e6cbd6069352242a /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 74a4f9cb057506f17ba6902964106f5b1d87ad98 (diff) | |
CMake: Fix linkage with lld 16.0
lld 16.0 is more picky about symbol versioning than previous versions
(and other linkers such as ld.bfd, gold or mold).
It now errors out if a symbol is versioned but not defined
(see 8796677de8900dc154aef45f8620c3f987a40291).
Outside of detecting support for symbol versioning (fixed by 462832),
this causes linking Qt6 libraries other than Qt6Core to fail because
their linker scripts try to add versioning to qt_version_tag, which is
defined in Qt6Core rather than the library being linked.
The obvious (and working) fix is to version qt_version_tag only where it is
defined (Qt6Core), but this is not what the original intent seems to be.
Task-number: QTBUG-111514
Change-Id: I963d417befb0f6b2260c57f059eeda1fe79200c9
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
