From: Bastian Germann Date: Tue, 8 Nov 2022 19:51:22 +0000 (+0200) Subject: Fix shared libs for non-Linux platforms X-Git-Tag: archive/raspbian/1.21.1+ds1-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7f5480cbcce644f6db1da2d5fe4ce2a03b27c69a;p=pymupdf.git Fix shared libs for non-Linux platforms Gbp-Pq: Name non-linux --- diff --git a/setup.py b/setup.py index 654aad0..b9eac7e 100644 --- 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: