From: Bastian Germann <bage@debian.org>
Date: Sat, 30 Oct 2021 10:51:22 +0200
Forwarded: not-needed
Subject: Fix shared libs for non-Linux platforms

---
diff --git a/setup.py b/setup.py
index 3a4a23c..133b910 100644
--- a/setup.py
+++ b/setup.py
@@ -623,13 +623,7 @@ if ('-h' not in sys.argv and '--help' not in sys.argv
         else:
             library_dirs.append( f'{mupdf_local}platform/win32/x64/ReleaseTesseract')
             library_dirs.append( f'{mupdf_local}platform/win32/x64/Release')
-        libraries = [
-            "libmupdf",
-            "libresources",
-            "libthirdparty",
-            #"libleptonica",
-            #"libtesseract",
-        ]
+        libraries = DEBIAN
         extra_link_args = ["/NODEFAULTLIB:MSVCRT"]
 
     # add any local include and library folders
