Merge pull request #232898 from SuperSandro2000/gd-fontconfig

gd: disable fontconfig when built without Xorg
This commit is contained in:
Nick Cao 2024-01-14 14:33:52 -05:00 committed by GitHub
commit 674a73c1a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ];