Skip to content

Commit

Permalink
setup.py: fix for mupdf-1.25.x - libmuthreads.lib not available.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Nov 30, 2024
1 parent a6033f2 commit 69e4408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ def add(flavour, from_, to_):
# Add Windows .lib files.
mupdf_build_dir2 = _windows_lib_directory(mupdf_local, build_type)
add('d', f'{mupdf_build_dir2}/mupdfcpp{wp.cpu.windows_suffix}.lib', f'{to_dir_d}/lib/')
if mupdf_version_tuple >= (1, 25):
if mupdf_version_tuple >= (1, 26):
# MuPDF-1.25+ language bindings build also builds libmuthreads.
add('d', f'{mupdf_build_dir2}/libmuthreads.lib', f'{to_dir_d}/lib/')
elif darwin:
Expand Down

0 comments on commit 69e4408

Please sign in to comment.