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

[build.zig] X11-only systems fail builds by default #4217

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

lnc3l0t
Copy link
Contributor

@lnc3l0t lnc3l0t commented Aug 6, 2024

I added a check to find the program wayland-scanner, if it's not found the following error log is printed and the build fails:

 Wayland may not be installed on the system.
 You can switch to X11 in your `build.zig` by changing `Options.linux_display_backend`

raysan5#4150 introduced a default value for linux_display_backend,
which makes X11-only systems fail to build.
@raysan5 raysan5 merged commit 8b714e9 into raysan5:master Aug 6, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Aug 6, 2024

@lnc3l0t thanks for the improvement!

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