Repository navigation
Ship self-contained builds that need nothing installed - #6
Merged
Merged
Conversation
The 1.2.0 Windows build needed the Visual C++ redistributable (MSVC's dynamic runtime), and the Mac build only ran on macOS 26 on Apple Silicon (it bundled Homebrew's SDL2 and SDL3, built for this machine). - LANDER_VENDOR_SDL2 builds SDL2 2.32.10 from source (hash-pinned) and links it statically; release builds and CI use it - Link the MSVC C/C++ runtime statically (/MT) - macOS releases are universal (arm64 + x86_64) for macOS 11 and later, with no bundled dylibs - CI and the release script fail if the game depends on anything players won't have - Version 1.2.1 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The 1.2.0 builds weren't packaged as neatly as before:
lander.exeimportedMSVCP140.dll/VCRUNTIME140.dll, so Windows asked players to install the Visual C++ redistributable. CI builds with MSVC, which links its runtime dynamically by default; the old MinGW builds linked it statically.Fix (the approach Augmentinel and blast_radius use):
LANDER_VENDOR_SDL2builds SDL2 2.32.10 from source (hash-pinned) and links it statically. Release builds and CI use it; everyday builds can still use Homebrew's SDL2./MT), so the package is a singlelander.exeplussounds/.Tested locally: the universal build passes all 14 test suites, links only Apple system frameworks, and runs natively and under Rosetta.
🤖 Generated with Claude Code