From 2fe65d0d0caed83c5a1dae1f749a58c4e8d1b378 Mon Sep 17 00:00:00 2001 From: Debian Python Modules Team Date: Sun, 23 Aug 2020 20:15:38 +0100 Subject: [PATCH] Fix imports and shared libs for non-Linux platforms Gbp-Pq: Name non-linux --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.30.2