@@ -687,9 +687,8 @@ def add(flavour, from_, to_):
687687 # Add Windows .lib files.
688688 mupdf_build_dir2 = _windows_lib_directory (mupdf_local , build_type )
689689 add ('d' , f'{ mupdf_build_dir2 } /mupdfcpp{ wp .cpu .windows_suffix } .lib' , f'{ to_dir_d } /lib/' )
690- if mupdf_version_tuple >= (1 , 26 ):
691- # MuPDF-1.25+ language bindings build also builds libmuthreads.
692- add ('d' , f'{ mupdf_build_dir2 } /libmuthreads.lib' , f'{ to_dir_d } /lib/' )
690+ # MuPDF-1.25+ language bindings build also builds libmuthreads.
691+ add ('d' , f'{ mupdf_build_dir2 } /libmuthreads.lib' , f'{ to_dir_d } /lib/' )
693692 elif darwin :
694693 add ('p' , f'{ mupdf_build_dir } /_mupdf.so' , to_dir )
695694 add ('b' , f'{ mupdf_build_dir } /libmupdfcpp.so' , to_dir )
@@ -983,10 +982,8 @@ def build_mupdf_unix(
983982 # a system limit, not the actual limit of the current shell, and there
984983 # doesn't seem to be a way to find the current shell's limit.
985984 #
986- build_prefix = f'PyMuPDF-'
987- if mupdf_version_tuple >= (1 , 26 ):
988- # Avoid link command length problems seen on musllinux.
989- build_prefix = ''
985+ # Avoid link command length problems seen on musllinux.
986+ build_prefix = ''
990987 if pyodide :
991988 build_prefix += 'pyodide-'
992989 else :
0 commit comments