mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03: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 New Issue
Block a user