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 2911 - CMake file links directly against Wayland...
Summary: CMake file links directly against Wayland...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: triage-2.0.4
Depends on:
Blocks:
 
Reported: 2015-03-16 20:47 UTC by Ryan C. Gordon
Modified: 2015-03-20 14:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan C. Gordon 2015-03-16 20:47:35 UTC
Apparently the CMake files are putting the Wayland libraries in EXTRA_LIBS whenever built with Wayland support, even though it doesn't need to do so. Doing so will make SDL fail to load on any systems without Wayland client libs, even if they intended to use X11 or whatever.

The Wayland target itself dynamically loads these libs, so there's no need to explicitly link against them.

Configure script doesn't have this problem.

--ryan.
Comment 1 Ryan C. Gordon 2015-03-20 14:36:20 UTC
Fixed in https://hg.libsdl.org/SDL/rev/9df20f292907

--ryan.