Commit 9cbf31d
meson: Fix detection of libatomic
Currently if the test for built-in GCC atomic functions fails, meson only searches for the libatomic library at the default location. Some platforms install the library in an alternate location (ex: NetBSD/m68k), so we search those additional locations. If the library is found, update the linker args to search that directory. Fixes #3043.1 parent ae54748 commit 9cbf31d
1 file changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
409 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
410 | 425 | | |
411 | 426 | | |
412 | 427 | | |
| |||
0 commit comments