[MDEV-27686] Moving libexecinfo out of FreeBSD / OpenBSD specific CMake code Created: 2022-01-30 Updated: 2022-07-18 Resolved: 2022-07-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Platform FreeBSD, Platform OpenBSD |
| Affects Version/s: | 10.2.41 |
| Fix Version/s: | 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2, 10.10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Brad Smith | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Currently the CMake code has checks for the libexecinfo library but it is in the FreeBSD / OpenBSD specific code in cmake/os/. This check should be moved to the main CMake file so it is not OS specific. NetBSD / DragonFlyBSD and musl-based Linux OS's (.e.g. Alpine Linux) also use libexecinfo from NetBSD in addition to FreeBSD and OpenBSD. |
| Comments |
| Comment by Daniel Black [ 2022-01-30 ] |
|
Good idea. Are you doing a patch? |
| Comment by Brad Smith [ 2022-02-13 ] |
|
I am honestly not very good with CMake so I don't have anything at the moment. |
| Comment by Brad Smith [ 2022-07-18 ] |
|
Thanks. Tried the diff and it works fine. Looking at MY_SEARCH_LIBS() it would appear to do what I would expect. |