sioyek: fix build with shared lib mupdf

This commit is contained in:
Lily Foster 2023-10-14 10:11:18 -04:00
parent 05c2473295
commit 027871cd3b
No known key found for this signature in database
GPG Key ID: 49340081E484C893

View File

@ -58,7 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
substituteInPlace pdf_viewer_build_config.pro \
--replace "-lmupdf-threads" "-lgumbo -lharfbuzz -lfreetype -ljbig2dec -ljpeg -lopenjp2"
--replace "-lmupdf-threads" "-lgumbo -lharfbuzz -lfreetype -ljbig2dec -ljpeg -lopenjp2" \
--replace "-lmupdf-third" ""
substituteInPlace pdf_viewer/main.cpp \
--replace "/usr/share/sioyek" "$out/share" \
--replace "/etc/sioyek" "$out/etc"