Gate paths in build.zig.zon - #2
Open
nat3Github wants to merge 3 commits into
Open
nat3Github wants to merge 3 commits into
nat3Github wants to merge 3 commits into
Conversation
nat3Github
force-pushed
the
c-sdl2-dev
branch
from
September 4, 2026 22:35
a218e5d to
3a66194
Compare
nat3Github
marked this pull request as draft
September 4, 2026 23:37
nat3Github
force-pushed
the
c-sdl2-dev
branch
from
September 6, 2026 08:30
55565e6 to
46ebb27
Compare
nat3Github
marked this pull request as ready for review
September 6, 2026 08:31
Generalises the existing Linux -Dsystem_include_path/-Dlibrary_path options and adds -Dsystem_framework_path, replacing the macOS b.sysroot block. --sysroot is graph-wide: it also reaches native host-tool steps in the same build graph and re-roots every absolute -L onto itself. Plain build options let the paths go only to the cross compile/link step. Claude-Session: https://claude.ai/code/session_0172xcFVWUqrMeXfDPoyi3V2
…ath/-Dframework_path/-Dlibrary_path Drop the redundant 'system_' prefix from the include/framework flag names so all three cross-compile options are named consistently (library_path already had no prefix). Local identifiers keep the 'system_' prefix for legibility (e.g. const system_library_path = b.option(..., "library_path", ...)). Claude-Session: https://claude.ai/code/session_0172xcFVWUqrMeXfDPoyi3V2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
see david-vanderson/dvui#975
gates paths and also fixes sysroot handling so this can be compiled with --sysroot