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