From: Debian Python Modules Team Date: Sun, 23 Aug 2020 19:15:38 +0000 (+0100) Subject: Fix imports and shared libs for non-Linux platforms X-Git-Tag: archive/raspbian/1.21.1+ds1-1+rpi1~1^2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2fe65d0d0caed83c5a1dae1f749a58c4e8d1b378;p=pymupdf.git Fix imports and shared libs for non-Linux platforms Gbp-Pq: Name non-linux --- diff --git a/setup.py b/setup.py index c50d8da..aded505 100644 --- a/setup.py +++ b/setup.py @@ -53,13 +53,13 @@ else: "fitz._fitz", ["fitz/fitz.i"], include_dirs=[ # we need the path of the MuPDF's headers + "/usr/include/mupdf", "./mupdf/include", "./mupdf/include/mupdf", ], libraries=[ # these are needed in Windows - "libmupdf", - "libresources", - "libthirdparty", + "mupdf", + "mujs", "harfbuzz", "jbig2dec", "jpeg", "freetype", "png16", "openjp2", ], extra_link_args=["/NODEFAULTLIB:MSVCRT"], # x86 dir of libmupdf.lib etc.