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 ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ ]
|
propagatedBuildInputs = [ ]
|
||||||
++ optionals (x11Support && !stdenv.isDarwin) [ libXext libICE libXrandr ]
|
++ optionals x11Support [ libXext libICE libXrandr ]
|
||||||
++ optional stdenv.isLinux libcap
|
++ optional stdenv.isLinux libcap
|
||||||
++ optionals openglSupport [ libGL libGLU ]
|
++ optionals openglSupport [ libGL libGLU ]
|
||||||
++ optional alsaSupport alsaLib
|
++ optional alsaSupport alsaLib
|
||||||
@ -56,7 +56,6 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional stdenv.isDarwin Cocoa;
|
++ optional stdenv.isDarwin Cocoa;
|
||||||
|
|
||||||
buildInputs = [ libiconv ]
|
buildInputs = [ libiconv ]
|
||||||
++ optionals (x11Support && stdenv.isDarwin) [ libXext libICE libXrandr ]
|
|
||||||
++ optional (!hostPlatform.isMinGW) audiofile
|
++ optional (!hostPlatform.isMinGW) audiofile
|
||||||
++ optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreServices Kernel OpenGL ];
|
++ optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreServices Kernel OpenGL ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user