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

Protect against redefining MESA_EGL_NO_X11_HEADERS #1443

Merged
merged 1 commit into from Dec 22, 2018

Conversation

Projects
None yet
2 participants
@Hjdskes
Copy link
Contributor

Hjdskes commented Dec 22, 2018

When building wlroots for an embedded Linux (hobby) project with Wayland only, I run into errors where MESA_EGL_NO_X11_HEADERS is redefined several times.

This PR simply adds a check if it is already defined, before defining it.

@emersion
Copy link
Member

emersion left a comment

Makes sense

@emersion emersion merged commit ed5296c into swaywm:master Dec 22, 2018

3 checks passed

builds.sr.ht: alpine.yml builds.sr.ht job completed successfully
Details
builds.sr.ht: archlinux.yml builds.sr.ht job completed successfully
Details
builds.sr.ht: freebsd.yml builds.sr.ht job completed successfully
Details
@emersion

This comment has been minimized.

Copy link
Member

emersion commented Dec 22, 2018

Thanks!

@Hjdskes Hjdskes deleted the Hjdskes:no-redefine branch Dec 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment