[MDEV-29973] BUILD: libmariadb/plugins/auth/ have_C__Wl___as_needed is set incorrectly Created: 2022-11-08 Updated: 2023-01-17 Resolved: 2022-11-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Configuration |
| Affects Version/s: | 10.6.11 |
| Fix Version/s: | 10.6.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Bohman | Assignee: | Sergei Golubchik |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The following line in CMakeLists.txt is erroneous:
The problem is that it uses CHECK_C_COMPILER_FLAG() to test for a linker flag, which can result in false positives. Need to use CHECK_LINKER_FLAG() instead:
This is a regression from 10.6.10. |
| Comments |
| Comment by Daniel Lenski [ 2023-01-17 ] |
|
This was fixed as part of MDEV-29925 in https://github.com/mariadb-corporation/mariadb-connector-c/commit/44383e3df4896f2d04d9141f640934d3e74e04d7 |