Mercurial > hgrepos > Python2 > PyMuPDF
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 13:d6cbc8049ab0 | 14:59f1bd90b2a0 |
|---|---|
| 1672 force_rebuild, | 1672 force_rebuild, |
| 1673 ) | 1673 ) |
| 1674 | 1674 |
| 1675 elif 'shared' in dir_so_flags: | 1675 elif 'shared' in dir_so_flags: |
| 1676 link_soname_arg = '' | 1676 link_soname_arg = '' |
| 1677 if state.state_.linux and so_version: | 1677 if (state.state_.linux or state.state_.freebsd) and so_version: |
| 1678 link_soname_arg = f'-Wl,-soname,{os.path.basename(libmupdfcpp)}' | 1678 link_soname_arg = f'-Wl,-soname,{os.path.basename(libmupdfcpp)}' |
| 1679 command = ( textwrap.dedent( | 1679 command = ( textwrap.dedent( |
| 1680 f''' | 1680 f''' |
| 1681 {compiler} | 1681 {compiler} |
| 1682 -o {os.path.relpath(libmupdfcpp)} | 1682 -o {os.path.relpath(libmupdfcpp)} |
