Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded dependency on X11 #12

Merged
merged 1 commit into from
Oct 16, 2018
Merged

Conversation

AMDmi3
Copy link
Contributor

@AMDmi3 AMDmi3 commented Oct 16, 2018

At least on FreeBSD, this is not needed.

Even if it's needed on Linux, it's used incorrectly, as X11_LIBRARIES would link with libX11 + any other X11 libs it can find (e.g. libXext, libSM, libICE, etc.). This hinders reproducible builds, creates needless dependencies and slows down app startup.

This change must be tested on Linux, and if it turns out to break the build, it could be redone with explicit list of X libs (e.g. ${X11_X11_LIB} instead of ${X11_LIBRARIES})

At least on FreeBSD, this is not needed.
@viewizard
Copy link
Owner

Yes, we dont need this one any more, all related code was removed from the game, since SDL2 have all we need now.

@viewizard viewizard merged commit 18d4a2f into viewizard:master Oct 16, 2018
@AMDmi3 AMDmi3 deleted the patch-5 branch October 16, 2018 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants