Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/scripts/wrap/__main__.py @ 40:aa33339d6b8a upstream
ADD: MuPDF v1.26.10: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.5.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 11 Oct 2025 11:31:38 +0200 |
| parents | b50eed0cc0ef |
| children | 71bcc18e306f |
comparison
equal
deleted
inserted
replaced
| 39:a6bc019ac0b2 | 40:aa33339d6b8a |
|---|---|
| 1327 num += 1 | 1327 num += 1 |
| 1328 jlib.log( 'number of functions that we should maybe add wrappers for: {num}') | 1328 jlib.log( 'number of functions that we should maybe add wrappers for: {num}') |
| 1329 | 1329 |
| 1330 | 1330 |
| 1331 def link_l_flags(sos): | 1331 def link_l_flags(sos): |
| 1332 ld_origin = None | 1332 ret = jlib.link_l_flags( sos) |
| 1333 if state.state_.pyodide: | |
| 1334 # Don't add '-Wl,-rpath*' etc if building for Pyodide. | |
| 1335 ld_origin = False | |
| 1336 ret = jlib.link_l_flags( sos, ld_origin) | |
| 1337 r = os.environ.get('LDFLAGS') | 1333 r = os.environ.get('LDFLAGS') |
| 1338 if r: | 1334 if r: |
| 1339 ret += f' {r}' | 1335 ret += f' {r}' |
| 1340 return ret | 1336 return ret |
| 1341 | 1337 |
