Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/scripts/wrap/__main__.py @ 6:b5f06508363a
PyMuPDF builds on FreeBSD now with "gmake -f Makefile.freebsd".
A virtual environment with requirements from "requirements-build.txt" is required.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 16:16:51 +0200 |
| parents | b50eed0cc0ef |
| children | 59f1bd90b2a0 |
comparison
equal
deleted
inserted
replaced
| 5:710d30cd138a | 6:b5f06508363a |
|---|---|
| 1696 command, | 1696 command, |
| 1697 force_rebuild, | 1697 force_rebuild, |
| 1698 ) | 1698 ) |
| 1699 if command_was_run: | 1699 if command_was_run: |
| 1700 macos_patch( libmupdfcpp, f'{build_dirs.dir_so}/libmupdf.dylib{so_version}') | 1700 macos_patch( libmupdfcpp, f'{build_dirs.dir_so}/libmupdf.dylib{so_version}') |
| 1701 if so_version and state.state_.linux: | 1701 if so_version and (state.state_.linux or state.state_.freebsd): |
| 1702 jlib.system(f'ln -sf libmupdfcpp.so{so_version} {build_dirs.dir_so}/libmupdfcpp.so') | 1702 jlib.system(f'ln -sf libmupdfcpp.so{so_version} {build_dirs.dir_so}/libmupdfcpp.so') |
| 1703 | 1703 |
| 1704 elif 'fpic' in dir_so_flags: | 1704 elif 'fpic' in dir_so_flags: |
| 1705 # We build a .so containing the C and C++ API. This | 1705 # We build a .so containing the C and C++ API. This |
| 1706 # might be slightly faster than having separate C and | 1706 # might be slightly faster than having separate C and |
