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 - Building SDL2 using CMake with tests enabled fails at link stage on Linux
Summary: Building SDL2 using CMake with tests enabled fails at link stage on Linux
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.9
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-28 18:44 UTC by janisozaur
Modified: 2018-09-29 04:04 UTC (History)
0 users

See Also:


Attachments
0001-CMake-fix-building-tests-on-Linux.patch (1.04 KB, patch)
2018-09-28 18:44 UTC, janisozaur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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