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

Fixes zig build that was broken on #3863 #3891

Merged
merged 2 commits into from
Mar 30, 2024
Merged

Conversation

ProIcons
Copy link
Contributor

Not even sure if this should be approached this way, however it's the first step to be fixed :)

@ProIcons
Copy link
Contributor Author

Actually it will not be enough,
things like: "raylib.linkSystemLibrary("X11");" should be moved only on the X11 case and for wayland the other system libraries should be added.
However i'm not sure which ones there are for Wayland.

@raysan5 raysan5 merged commit d374457 into raysan5:master Mar 30, 2024
@raysan5
Copy link
Owner

raysan5 commented Mar 30, 2024

@ProIcons Thank you very much for the fixes!

iarkn added a commit to iarkn/raylib that referenced this pull request Apr 4, 2024
The changes brought by raysan5#3891 uses `std.process.Child.run` which was
renamed from `std.process.Child.exec` in Zig version 0.11.0. This commit
adds a version check to use the appropriate function names.

Additionally, the `linux_display_backend` configuration option is added
so users can set them when running `zig build` with the `-D` option or
when using raylib as a dependency.
iarkn added a commit to iarkn/raylib that referenced this pull request Apr 4, 2024
The changes brought by raysan5#3891 uses `std.process.Child.run` which was
renamed from `std.process.Child.exec` in Zig version 0.11.0. This commit
adds a version check to use the appropriate function names.

Additionally, the `linux_display_backend` configuration option is added
so users can set it when running `zig build` with the `-D` option or
when using raylib as a dependency.
raysan5 pushed a commit that referenced this pull request Apr 5, 2024
The changes brought by #3891 uses `std.process.Child.run` which was
renamed from `std.process.Child.exec` in Zig version 0.11.0. This commit
adds a version check to use the appropriate function names.

Additionally, the `linux_display_backend` configuration option is added
so users can set it when running `zig build` with the `-D` option or
when using raylib as a dependency.
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.

None yet

2 participants