Mercurial > hgrepos > Python2 > PyMuPDF
diff mupdf-source/scripts/wrap/__main__.py @ 14:59f1bd90b2a0
Use "soname" on FreeBSD also.
FreeBSD and Linux are now handled identical with regard
to soname and library naming and packaging.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 17 Sep 2025 20:35:45 +0200 |
| parents | b5f06508363a |
| children | baeb8bdeff3a |
line wrap: on
line diff
--- a/mupdf-source/scripts/wrap/__main__.py Wed Sep 17 20:31:46 2025 +0200 +++ b/mupdf-source/scripts/wrap/__main__.py Wed Sep 17 20:35:45 2025 +0200 @@ -1674,7 +1674,7 @@ elif 'shared' in dir_so_flags: link_soname_arg = '' - if state.state_.linux and so_version: + if (state.state_.linux or state.state_.freebsd) and so_version: link_soname_arg = f'-Wl,-soname,{os.path.basename(libmupdfcpp)}' command = ( textwrap.dedent( f'''
