Fix shared libs for non-Linux platforms
authorBastian Germann <bage@debian.org>
Tue, 8 Nov 2022 19:51:22 +0000 (21:51 +0200)
committerBastian Germann <bage@debian.org>
Thu, 15 Dec 2022 20:22:02 +0000 (20:22 +0000)
Gbp-Pq: Name non-linux

setup.py

index 654aad0079f6dc97084b24a49555d4a273738871..b9eac7eb56f02d36a772c505c8ab750a012d062b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -720,11 +720,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",
-        ]
+        libraries = DEBIAN
         extra_link_args = ["/NODEFAULTLIB:MSVCRT"]
     
     else: