mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
SDL2: pass explicit --without-x flag to configure
Fixes build on Darwin for me, possibly necessary on other systems as well
This commit is contained in:
parent
06cf9a9613
commit
948884ef11
|
@ -19,6 +19,7 @@ let
|
|||
--disable-oss --disable-x11-shared
|
||||
--disable-pulseaudio-shared --disable-alsa-shared
|
||||
${if alsaSupport then "--with-alsa-prefix=${attrs.alsaLib}/lib" else ""}
|
||||
${if (!x11Support) then "--without-x" else ""}
|
||||
'';
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
|
Loading…
Reference in a new issue