@@ -15,6 +15,7 @@
1515, libpulseaudio
1616, AudioUnit, Cocoa, CoreAudio, CoreServices, ForceFeedback, OpenGL
1717, audiofile, libiconv
18+, withStatic ? false
1819}:
1920
2021# NOTE: When editing this expression see if the same change applies to
@@ -30,7 +31,7 @@ stdenv.mkDerivation rec {
3031 url = "https://www.libsdl.org/release/${pname}-${version}.tar.gz";
3132 sha256 = "0qy8wbqvfkb5ps8kxgaaf2zzpkjqbsw712hlp74znbn0jpv6i4il";
3233 };
33−
34+ dontDisableStatic = withStatic;
3435 outputs = [ "out" "dev" ];
3536 outputBin = "dev"; # sdl-config
3637