We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4279

Summary: Building SDL2 using CMake with tests enabled fails at link stage on Linux
Product: SDL Reporter: janisozaur <janisozaur+libsdl>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.9   
Hardware: x86_64   
OS: Linux   
Attachments: 0001-CMake-fix-building-tests-on-Linux.patch

Description janisozaur 2018-09-28 18:44:20 UTC
Created attachment 3321 [details]
0001-CMake-fix-building-tests-on-Linux.patch

Building SDL2 using CMake with tests enabled fails at link stage on Linux due to missing libunwind linkage. Attached patch fixes this issue.
Comment 1 Sam Lantinga 2018-09-29 04:04:04 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/d7a3aac08fc1