git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #88519 from karolchmist/sdl2-add-optional-dont-disable-static

SDL2: Add withStatic option

commit1059cdab38907496fd3370a9ec4420b1ff200ed2 authorCarles Pagès <page@ruiec.cat> dateSun 7 Jun 2020, 20:22 (6 years ago) parent131028c4babef9
1 file changed+2−1
pkgs/development/libraries/SDL2/default.nix+2−1
pkgs/development/libraries/SDL2/default.nix+2−1
@@ -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