This allows users to build without having SDL2 and some of its dependencies installed. This would be done using -tags static as a build flag.
For static builds, a few dependencies will still need to be installed in static builds, but the following would not need to be installed:
freetype
jpeg
mpg123
ogg
png
SDL2{,_gfx,_image,main,_mixer,_ttf}
vorbis
z
Building this way on Actions didn't seem very worthwhile, as the build time for the project is unchanged.
This allows users to build without having SDL2 and some of its dependencies installed. This would be done using
-tags static
as a build flag. For static builds, a few dependencies will still need to be installed in static builds, but the following would not need to be installed:Building this way on Actions didn't seem very worthwhile, as the build time for the project is unchanged.