mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 14:57:49 +00:00
mupdf: fixup build on *-darwin
https://hydra.nixos.org/build/270468296/nixlog/3/tail Just trying to mitigate the worst. At least `mutool --help` works.
This commit is contained in:
parent
7834248d2f
commit
9b88d05935
@ -166,7 +166,7 @@ stdenv.mkDerivation rec {
|
||||
EOF
|
||||
|
||||
moveToOutput "bin" "$bin"
|
||||
cp ./build/shared-release/libmupdf.so* $out/lib
|
||||
cp ./build/shared-release/libmupdf${stdenv.hostPlatform.extensions.sharedLibrary}* $out/lib
|
||||
'' + (lib.optionalString (stdenv.isDarwin) ''
|
||||
for exe in $bin/bin/*; do
|
||||
install_name_tool -change build/shared-release/libmupdf.dylib $out/lib/libmupdf.dylib "$exe"
|
||||
|
Loading…
Reference in New Issue
Block a user