mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 10:00:56 +00:00
Merge pull request #36514 from oxij/pkgs/fix-pulseaudio-references-fix
SDL: propagate X11 libs even when building statically against them on Darwin
This commit is contained in:
commit
b61ac66973
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
propagatedBuildInputs = [ ]
|
||||
++ optionals (x11Support && !stdenv.isDarwin) [ libXext libICE libXrandr ]
|
||||
++ optionals x11Support [ libXext libICE libXrandr ]
|
||||
++ optional stdenv.isLinux libcap
|
||||
++ optionals openglSupport [ libGL libGLU ]
|
||||
++ optional alsaSupport alsaLib
|
||||
|
@ -56,7 +56,6 @@ stdenv.mkDerivation rec {
|
|||
++ optional stdenv.isDarwin Cocoa;
|
||||
|
||||
buildInputs = [ libiconv ]
|
||||
++ optionals (x11Support && stdenv.isDarwin) [ libXext libICE libXrandr ]
|
||||
++ optional (!hostPlatform.isMinGW) audiofile
|
||||
++ optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreServices Kernel OpenGL ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue