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

EGL detection fails on systems with recent headers and no X11 #3806

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

EGL detection fails on systems with recent headers and no X11 #3806

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.13
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2020-08-25 13:58:05 +0000, Brian Kubisiak wrote:

Created attachment 4447
patch

Recent EGL headers on Linux use EGL_NO_X11 instead of MESA_EGL_NO_X11_HEADERS on systems where X11 should not be used. As a result, on systems where X11 is not present, the configure script would fail to enable EGL (and Wayland) support.

The attached patch should fix this issue. The old MESA_EGL_NO_X11_HEADERS remains for systems that do not have the updated headers. Note that the newer macro has already been added to EXTRA_CFLAGS, so the build still worked, it is just the detection during configuration that is failing.

On 2020-11-15 01:10:35 +0000, Ozkan Sezer wrote:

This patch is in: https://hg.libsdl.org/SDL/rev/69b6e0c949ee
Closing as fixed.

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

No branches or pull requests

1 participant