mupdf: fix darwin dylib

This commit is contained in:
Mario Rodas 2023-11-15 04:20:00 +00:00
parent e892890088
commit 29455886e2

View file

@ -7,6 +7,7 @@
, desktopToDarwinBundle
, buildPackages
, pkg-config
, fixDarwinDylibNames
, freetype
, harfbuzz
, openjpeg
@ -99,7 +100,7 @@ stdenv.mkDerivation rec {
++ lib.optional (enableGL || enableX11) copyDesktopItems
++ lib.optionals (enableCxx || enablePython) [ python3 python3.pkgs.setuptools python3.pkgs.libclang ]
++ lib.optionals (enablePython) [ which swig ]
++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle xcbuild ];
++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle fixDarwinDylibNames xcbuild ];
buildInputs = [ freetype harfbuzz openjpeg jbig2dec libjpeg gumbo ]
++ lib.optionals enableX11 [ libX11 libXext libXi libXrandr ]