Commit a951381
committed
sdl3: keep SDL3_test from linking against libunwind
SDL3's CheckLibUnwind cmake macro autodetects libunwind for the
SDL3_test library and offers no option to disable it. On the buildbots
libunwind is present in staging, so the test programs end up linked
against it and packaging libsdl3-tests fails:
Package libsdl3-tests is missing dependencies for the following libraries:
libunwind-x86_64.so.8
libunwind.so.8
This aborts the whole sdl3 build before anything is staged, taking
down every package depending on SDL3 or SDL2 (sdl2-compat, sdl2-image,
sdl2-mixer, sdl3-image, sdl3-mixer, sdl3-doom, gzdoom, vice).
Preseed the three detection cache variables to OFF so the result no
longer depends on whether libunwind happens to be staged; it is only
used for symbolised backtraces in test leak reports.
Fixes: 51549da ("sdl3: add SDL3 3.4.10")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>1 parent a022f83 commit a951381
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
0 commit comments