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