comparison mupdf-source/scripts/jlib.py @ 41:71bcc18e306f

MERGE: New upstream PyMuPDF v1.26.5 including MuPDF v1.26.10 BUGS: Needs some additional changes yet. Not yet tested.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 11 Oct 2025 15:24:40 +0200
parents fdb709369d57 aa33339d6b8a
children
comparison
equal deleted inserted replaced
38:8934ac156ef5 41:71bcc18e306f
2299 if darwin: 2299 if darwin:
2300 # As well as this link flag, it is also necessary to use 2300 # As well as this link flag, it is also necessary to use
2301 # `install_name_tool -change` to rename internal names to 2301 # `install_name_tool -change` to rename internal names to
2302 # `@rpath/<leafname>`. 2302 # `@rpath/<leafname>`.
2303 ret += ' -Wl,-rpath,@loader_path/.' 2303 ret += ' -Wl,-rpath,@loader_path/.'
2304 elif os.environ.get( 'PYODIDE') == '1':
2305 # 2025-09-05: Pyodide now supports rpath.
2306 ret += " -Wl,-rpath,'$ORIGIN'"
2304 else: 2307 else:
2305 ret += " -Wl,-rpath,'$ORIGIN',-z,origin" 2308 ret += " -Wl,-rpath,'$ORIGIN',-z,origin"
2306 if not darwin and (platform.system() != 'Windows'): 2309 if not darwin and (platform.system() != 'Windows'):
2307 # *BSD and Linux 2310 # *BSD and Linux
2308 # Full RELRO 2311 # Full RELRO