mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
gd: disable fontconfig when built without Xorg
This commit is contained in:
parent
b608fc233c
commit
ee736a3dc9
|
@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ autoconf automake pkg-config ];
|
||||
|
||||
buildInputs = [ zlib fontconfig freetype libpng libjpeg libwebp libtiff libavif ]
|
||||
++ lib.optional withXorg libXpm;
|
||||
buildInputs = [ zlib freetype libpng libjpeg libwebp libtiff libavif ]
|
||||
++ lib.optionals withXorg [ fontconfig libXpm ];
|
||||
|
||||
outputs = [ "bin" "dev" "out" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue